#CD9CF2#CD9CF2

#CD9CF2 is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.9% C 0.130 H 309.7°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CD9CF2
RGBrgb(205, 156, 242)
HSLhsl(274, 77%, 78%)
HSVhsv(274, 36%, 95%)
CMYKcmyk(15.3%, 35.5%, 0%, 5.1%)
CIE-LABlab(71.67, 33.89, -36.21)
CIE-LCHlch(71.67, 49.60, 313.11°)
OKLaboklab(76.93% 0.083 -0.0999)
OKLCHoklch(76.93% 0.13 309.7)
XYZxyz(53.0894, 43.1675, 89.5226)
Luminance0.4317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CF2 #C1F29C
analogous
#A29CF2 #CD9CF2 #F29CEC
triadic
#CD9CF2 #F2CD9C #9CF2CD
tetradic
#CD9CF2 #F2A29C #C1F29C #9CECF2
square
#CD9CF2 #F2A29C #C1F29C #9CECF2
split-complementary
#CD9CF2 #ECF29C #9CF2A2
monochromatic
#9630E4 #B266EB #CD9CF2 #E8D2F9 #F1E4FB

Accessibility & contrast

On white

2.18
#CD9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CD9CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CF2
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CF2#FFFFFF#000000##000000
##CD9CF21.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CADF5
Deuteranopia (green-blind)
#97B0F0
Tritanopia (blue-blind)
#C9A8BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9cf2;
/* rgb */ color: rgb(205, 156, 242);
/* oklch */ color: oklch(76.9% 0.130 309.7);
Tailwind
colors: {
  custom: {
    50: '#ddbaf6',
    500: '#cd9cf2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cf2;
$custom-light: #ddbaf6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cf2",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 242
  },
  "hsl": {
    "h": 274.186,
    "s": 76.786,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76927,
    "c": 0.12983,
    "h": 309.7
  },
  "luminance": 0.43167
}

Semantic roles & 50–950 ramp

primary
#CD9CF2
secondary
#E4F3D8
accent
#D90C64
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CD9CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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