#BD98DF#BD98DF

#BD98DF is a light, moderate violet. Relative luminance 0.386; OKLCH L 73.9% C 0.107 H 307.8°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#BD98DF
RGBrgb(189, 152, 223)
HSLhsl(271, 53%, 74%)
HSVhsv(271, 32%, 87%)
CMYKcmyk(15.2%, 31.8%, 0%, 12.5%)
CIE-LABlab(68.46, 27.16, -30.89)
CIE-LCHlch(68.46, 41.13, 311.33°)
OKLaboklab(73.88% 0.0658 -0.0849)
OKLCHoklch(73.88% 0.107 307.8)
XYZxyz(45.5313, 38.6034, 74.8503)
Luminance0.3860 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98DF #BADF98
analogous
#9998DF #BD98DF #DF98DD
triadic
#BD98DF #DFBD98 #98DFBD
tetradic
#BD98DF #DF9998 #BADF98 #98DDDF
square
#BD98DF #DF9998 #BADF98 #98DDDF
split-complementary
#BD98DF #DDDF98 #98DF99
monochromatic
#813CC1 #9F69D0 #BD98DF #DBC7EE #F0E8F8

Accessibility & contrast

On white

2.41
#BD98DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#BD98DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98DF
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98DF#FFFFFF#000000##000000
##BD98DF1.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA5E2
Deuteranopia (green-blind)
#92A7DD
Tritanopia (blue-blind)
#B9A2B2
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bd98df;
/* rgb */ color: rgb(189, 152, 223);
/* oklch */ color: oklch(73.9% 0.107 307.8);
Tailwind
colors: {
  custom: {
    50: '#d1b6e9',
    500: '#bd98df',
    950: '#000000',
  },
}
SCSS
$custom: #bd98df;
$custom-light: #d1b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98df",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 223
  },
  "hsl": {
    "h": 271.268,
    "s": 52.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73883,
    "c": 0.10743,
    "h": 307.8
  },
  "luminance": 0.38603
}

Semantic roles & 50–950 ramp

primary
#BD98DF
secondary
#E5EFDC
accent
#C0256F
background
#FCFBFE
surface
#F9F6FD
border
#D2D0D5
text
#141116
muted
#828084

Preview Lab

Preview with #BD98DF

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

Preview Lab → · Contrast checker → · Palette generator →

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