#CF9CED#CF9CED

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

Color values

HEX#CF9CED
RGBrgb(207, 156, 237)
HSLhsl(278, 69%, 77%)
HSVhsv(278, 34%, 93%)
CMYKcmyk(12.7%, 34.2%, 0%, 7.1%)
CIE-LABlab(71.66, 33.44, -33.48)
CIE-LCHlch(71.66, 47.32, 314.97°)
OKLaboklab(76.9% 0.0841 -0.092)
OKLCHoklch(76.9% 0.125 312.4)
XYZxyz(52.9041, 43.1576, 85.6476)
Luminance0.4316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9CED #BAED9C
analogous
#A79CED #CF9CED #ED9CE3
triadic
#CF9CED #EDCF9C #9CEDCF
tetradic
#CF9CED #EDA79C #BAED9C #9CE3ED
square
#CF9CED #EDA79C #BAED9C #9CE3ED
split-complementary
#CF9CED #E3ED9C #9CEDA7
monochromatic
#9D34DA #B668E4 #CF9CED #E8D0F6 #F2E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF9CED#FFFFFF#000000##000000
##CF9CED1.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)
#8EADF0
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#CCA7BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cf9ced;
/* rgb */ color: rgb(207, 156, 237);
/* oklch */ color: oklch(76.9% 0.125 312.4);
Tailwind
colors: {
  custom: {
    50: '#debaf3',
    500: '#cf9ced',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ced;
$custom-light: #debaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ced",
  "rgb": {
    "r": 207,
    "g": 156,
    "b": 237
  },
  "hsl": {
    "h": 277.778,
    "s": 69.231,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76901,
    "c": 0.12466,
    "h": 312.4
  },
  "luminance": 0.43157
}

Semantic roles & 50–950 ramp

primary
#CF9CED
secondary
#E2F2D9
accent
#D1145A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9CED

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

Preview Lab → · Contrast checker → · Palette generator →

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