#CD9BF1#CD9BF1

#CD9BF1 is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.7% C 0.130 H 310.2°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CD9BF1
RGBrgb(205, 155, 241)
HSLhsl(275, 75%, 78%)
HSVhsv(275, 36%, 95%)
CMYKcmyk(14.9%, 35.7%, 0%, 5.5%)
CIE-LABlab(71.40, 34.23, -36.08)
CIE-LCHlch(71.40, 49.73, 313.49°)
OKLaboklab(76.71% 0.0842 -0.0995)
OKLCHoklch(76.71% 0.13 310.2)
XYZxyz(52.7725, 42.7734, 88.6781)
Luminance0.4277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BF1 #BFF19B
analogous
#A29BF1 #CD9BF1 #F19BEA
triadic
#CD9BF1 #F1CD9B #9BF1CD
tetradic
#CD9BF1 #F1A29B #BFF19B #9BEAF1
square
#CD9BF1 #F1A29B #BFF19B #9BEAF1
split-complementary
#CD9BF1 #EAF19B #9BF1A2
monochromatic
#9730E2 #B265E9 #CD9BF1 #E8D1F9 #F2E4FB

Accessibility & contrast

On white

2.20
#CD9BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CD9BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BF1
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BF1#FFFFFF#000000##000000
##CD9BF11.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BACF4
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#C9A7BB
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9bf1;
/* rgb */ color: rgb(205, 155, 241);
/* oklch */ color: oklch(76.7% 0.130 310.2);
Tailwind
colors: {
  custom: {
    50: '#ddb9f6',
    500: '#cd9bf1',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bf1;
$custom-light: #ddb9f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bf1",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 241
  },
  "hsl": {
    "h": 274.884,
    "s": 75.439,
    "l": 77.647
  },
  "oklch": {
    "l": 0.76711,
    "c": 0.13031,
    "h": 310.2
  },
  "luminance": 0.42773
}

Semantic roles & 50–950 ramp

primary
#CD9BF1
secondary
#E3F3D8
accent
#D80E62
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD9BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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