#CF9EF7#CF9EF7

#CF9EF7 is a light, vivid violet. Relative luminance 0.444; OKLCH L 77.7% C 0.133 H 308.8°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CF9EF7
RGBrgb(207, 158, 247)
HSLhsl(273, 85%, 79%)
HSVhsv(273, 36%, 97%)
CMYKcmyk(16.2%, 36%, 0%, 3.1%)
CIE-LABlab(72.52, 34.47, -37.60)
CIE-LCHlch(72.52, 51.00, 312.51°)
OKLaboklab(77.68% 0.0835 -0.1038)
OKLCHoklch(77.68% 0.133 308.8)
XYZxyz(54.7444, 44.4351, 93.6705)
Luminance0.4444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EF7 #C6F79E
analogous
#A39EF7 #CF9EF7 #F79EF2
triadic
#CF9EF7 #F7CF9E #9EF7CF
tetradic
#CF9EF7 #F7A39E #C6F79E #9EF2F7
square
#CF9EF7 #F7A39E #C6F79E #9EF2F7
split-complementary
#CF9EF7 #F2F79E #9EF7A3
monochromatic
#972DEE #B365F2 #CF9EF7 #EBD7FC #F1E3FD

Accessibility & contrast

On white

2.12
#CF9EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CF9EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EF7
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EF7#FFFFFF#000000##000000
##CF9EF71.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB0FA
Deuteranopia (green-blind)
#97B3F4
Tritanopia (blue-blind)
#CAABBF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cf9ef7;
/* rgb */ color: rgb(207, 158, 247);
/* oklch */ color: oklch(77.7% 0.133 308.8);
Tailwind
colors: {
  custom: {
    50: '#dfbbfa',
    500: '#cf9ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cf9ef7;
$custom-light: #dfbbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9ef7",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 247
  },
  "hsl": {
    "h": 273.034,
    "s": 84.762,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77684,
    "c": 0.13324,
    "h": 308.8
  },
  "luminance": 0.44435
}

Semantic roles & 50–950 ramp

primary
#CF9EF7
secondary
#E4F5D6
accent
#E10468
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CF9EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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