#CF9BEB#CF9BEB

#CF9BEB is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.6% C 0.124 H 313.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#CF9BEB
RGBrgb(207, 155, 235)
HSLhsl(279, 67%, 76%)
HSVhsv(279, 34%, 92%)
CMYKcmyk(11.9%, 34%, 0%, 7.8%)
CIE-LABlab(71.36, 33.57, -32.86)
CIE-LCHlch(71.36, 46.98, 315.61°)
OKLaboklab(76.64% 0.0851 -0.0903)
OKLCHoklch(76.64% 0.124 313.3)
XYZxyz(52.4464, 42.7072, 84.0616)
Luminance0.4271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9BEB #B7EB9B
analogous
#A79BEB #CF9BEB #EB9BDF
triadic
#CF9BEB #EBCF9B #9BEBCF
tetradic
#CF9BEB #EBA79B #B7EB9B #9BDFEB
square
#CF9BEB #EBA79B #B7EB9B #9BDFEB
split-complementary
#CF9BEB #DFEB9B #9BEBA7
monochromatic
#9E35D7 #B768E1 #CF9BEB #E7CEF5 #F3E5FA

Accessibility & contrast

On white

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

On black

9.54
#CF9BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9BEB
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9BEB#FFFFFF#000000##000000
##CF9BEB1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EACEE
Deuteranopia (green-blind)
#9AB0E9
Tritanopia (blue-blind)
#CDA6B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cf9beb;
/* rgb */ color: rgb(207, 155, 235);
/* oklch */ color: oklch(76.6% 0.124 313.3);
Tailwind
colors: {
  custom: {
    50: '#deb9f1',
    500: '#cf9beb',
    950: '#000000',
  },
}
SCSS
$custom: #cf9beb;
$custom-light: #deb9f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9beb",
  "rgb": {
    "r": 207,
    "g": 155,
    "b": 235
  },
  "hsl": {
    "h": 279,
    "s": 66.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76642,
    "c": 0.12402,
    "h": 313.3
  },
  "luminance": 0.42706
}

Semantic roles & 50–950 ramp

primary
#CF9BEB
secondary
#E2F1DA
accent
#CF1757
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CF9BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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