#CF9EFF#CF9EFF

#CF9EFF is a light, vivid violet. Relative luminance 0.449; OKLCH L 78.0% C 0.143 H 306.6°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#CF9EFF
RGBrgb(207, 158, 255)
HSLhsl(270, 100%, 81%)
HSVhsv(270, 38%, 100%)
CMYKcmyk(18.8%, 38%, 0%, 0%)
CIE-LABlab(72.85, 36.20, -41.41)
CIE-LCHlch(72.85, 55.00, 311.15°)
OKLaboklab(78.05% 0.0852 -0.1148)
OKLCHoklch(78.05% 0.143 306.6)
XYZxyz(56.0054, 44.9395, 100.3121)
Luminance0.4494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9EFF #CEFF9E
analogous
#9E9EFF #CF9EFF #FF9EFF
triadic
#CF9EFF #FFCF9E #9EFFCF
tetradic
#CF9EFF #FF9E9E #CEFF9E #9EFFFF
square
#CF9EFF #FF9E9E #CEFF9E #9EFFFF
split-complementary
#CF9EFF #FFFF9E #9EFF9E
monochromatic
#9224FF #B161FF #CF9EFF #EDDBFF #F0E0FF

Accessibility & contrast

On white

2.10
#CF9EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.99
#CF9EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9EFF
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9EFF#FFFFFF#000000##000000
##CF9EFF1.002.109.999.99
#FFFFFF2.101.0021.0021.00
#0000009.9921.001.001.00
##0000009.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89B1FF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#C8ADC3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cf9eff;
/* rgb */ color: rgb(207, 158, 255);
/* oklch */ color: oklch(78.0% 0.143 306.6);
Tailwind
colors: {
  custom: {
    50: '#dfbbff',
    500: '#cf9eff',
    950: '#000000',
  },
}
SCSS
$custom: #cf9eff;
$custom-light: #dfbbff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9eff",
  "rgb": {
    "r": 207,
    "g": 158,
    "b": 255
  },
  "hsl": {
    "h": 270.309,
    "s": 100,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78046,
    "c": 0.14294,
    "h": 306.6
  },
  "luminance": 0.44939
}

Semantic roles & 50–950 ramp

primary
#CF9EFF
secondary
#E5F7D4
accent
#E60072
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CF9EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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