#CF9BED#CF9BED

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

Color values

HEX#CF9BED
RGBrgb(207, 155, 237)
HSLhsl(278, 69%, 77%)
HSVhsv(278, 35%, 93%)
CMYKcmyk(12.7%, 34.6%, 0%, 7.1%)
CIE-LABlab(71.43, 33.99, -33.83)
CIE-LCHlch(71.43, 47.95, 315.13°)
OKLaboklab(76.73% 0.0855 -0.093)
OKLCHoklch(76.73% 0.126 312.6)
XYZxyz(52.7370, 42.8234, 85.5919)
Luminance0.4282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BED #B9ED9B
analogous
#A69BED #CF9BED #ED9BE2
triadic
#CF9BED #EDCF9B #9BEDCF
tetradic
#CF9BED #EDA69B #B9ED9B #9BE2ED
square
#CF9BED #EDA69B #B9ED9B #9BE2ED
split-complementary
#CF9BED #E2ED9B #9BEDA6
monochromatic
#9D33DA #B667E4 #CF9BED #E8CFF6 #F3E5FA

Accessibility & contrast

On white

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

On black

9.56
#CF9BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BED
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BED#FFFFFF#000000##000000
##CF9BED1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACF0
Deuteranopia (green-blind)
#99B0EB
Tritanopia (blue-blind)
#CCA6B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf9bed;
/* rgb */ color: rgb(207, 155, 237);
/* oklch */ color: oklch(76.7% 0.126 312.6);
Tailwind
colors: {
  custom: {
    50: '#deb9f3',
    500: '#cf9bed',
    950: '#000000',
  },
}
SCSS
$custom: #cf9bed;
$custom-light: #deb9f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9bed",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 237
  },
  "hsl": {
    "h": 278.049,
    "s": 69.492,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76729,
    "c": 0.12637,
    "h": 312.6
  },
  "luminance": 0.42823
}

Semantic roles & 50–950 ramp

primary
#CF9BED
secondary
#E2F2D9
accent
#D11459
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BED

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

Preview Lab → · Contrast checker → · Palette generator →

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