#BD97ED#BD97ED

#BD97ED is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.3% C 0.127 H 303.8°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#BD97ED
RGBrgb(189, 151, 237)
HSLhsl(267, 70%, 76%)
HSVhsv(267, 36%, 93%)
CMYKcmyk(20.3%, 36.3%, 0%, 7.1%)
CIE-LABlab(68.80, 30.81, -38.06)
CIE-LCHlch(68.80, 48.97, 308.99°)
OKLaboklab(74.33% 0.0706 -0.1054)
OKLCHoklch(74.33% 0.127 303.8)
XYZxyz(47.3358, 39.0666, 85.1512)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD97ED #C7ED97
analogous
#979CED #BD97ED #E897ED
triadic
#BD97ED #EDBD97 #97EDBD
tetradic
#BD97ED #ED979C #C7ED97 #97EDE8
square
#BD97ED #ED979C #C7ED97 #97EDE8
split-complementary
#BD97ED #EDE897 #9CED97
monochromatic
#7B2FDB #9C63E4 #BD97ED #DECBF6 #EEE5FA

Accessibility & contrast

On white

2.38
#BD97ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#BD97ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD97ED
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD97ED#FFFFFF#000000##000000
##BD97ED1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#8BA8EB
Tritanopia (blue-blind)
#B5A4B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd97ed;
/* rgb */ color: rgb(189, 151, 237);
/* oklch */ color: oklch(74.3% 0.127 303.8);
Tailwind
colors: {
  custom: {
    50: '#d2b6f3',
    500: '#bd97ed',
    950: '#000000',
  },
}
SCSS
$custom: #bd97ed;
$custom-light: #d2b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd97ed",
  "rgb": {
    "r": 189,
    "g": 151,
    "b": 237
  },
  "hsl": {
    "h": 266.512,
    "s": 70.492,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74327,
    "c": 0.12687,
    "h": 303.8
  },
  "luminance": 0.39066
}

Semantic roles & 50–950 ramp

primary
#BD97ED
secondary
#E7F2D9
accent
#D3137E
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BD97ED

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BD97ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva