#BD9DF2#BD9DF2

#BD9DF2 is a light, vivid violet. Relative luminance 0.413; OKLCH L 75.6% C 0.124 H 300.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#BD9DF2
RGBrgb(189, 157, 242)
HSLhsl(263, 77%, 78%)
HSVhsv(263, 35%, 95%)
CMYKcmyk(21.9%, 35.1%, 0%, 5.1%)
CIE-LABlab(70.42, 28.62, -38.27)
CIE-LCHlch(70.42, 47.79, 306.79°)
OKLaboklab(75.63% 0.0633 -0.1061)
OKLCHoklch(75.63% 0.124 300.8)
XYZxyz(49.0668, 41.3434, 89.3823)
Luminance0.4134 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD9DF2 #D2F29D
analogous
#9DA7F2 #BD9DF2 #E79DF2
triadic
#BD9DF2 #F2BD9D #9DF2BD
tetradic
#BD9DF2 #F29DA7 #D2F29D #9DF2E7
square
#BD9DF2 #F29DA7 #D2F29D #9DF2E7
split-complementary
#BD9DF2 #F2E79D #A7F29D
monochromatic
#7431E4 #9967EB #BD9DF2 #E1D3F9 #EDE4FB

Accessibility & contrast

On white

2.27
#BD9DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#BD9DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD9DF2
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD9DF2#FFFFFF#000000##000000
##BD9DF21.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#8FACF0
Tritanopia (blue-blind)
#B4ABBC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bd9df2;
/* rgb */ color: rgb(189, 157, 242);
/* oklch */ color: oklch(75.6% 0.124 300.8);
Tailwind
colors: {
  custom: {
    50: '#d2baf6',
    500: '#bd9df2',
    950: '#000000',
  },
}
SCSS
$custom: #bd9df2;
$custom-light: #d2baf6;
$custom-dark: #000000;
JSON
{
  "hex": "#bd9df2",
  "rgb": {
    "r": 189,
    "g": 157,
    "b": 242
  },
  "hsl": {
    "h": 262.588,
    "s": 76.577,
    "l": 78.235
  },
  "oklch": {
    "l": 0.75627,
    "c": 0.12351,
    "h": 300.8
  },
  "luminance": 0.41344
}

Semantic roles & 50–950 ramp

primary
#BD9DF2
secondary
#E9F3D8
accent
#D90D8C
background
#FDFBFF
surface
#FAF6FE
border
#D3D0D6
text
#141117
muted
#838085

Preview Lab

Preview with #BD9DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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