#CF6CEB#CF6CEB

#CF6CEB is a light, highly saturated purple. Relative luminance 0.300; OKLCH L 69.4% C 0.201 H 318.4°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CF6CEB
RGBrgb(207, 108, 235)
HSLhsl(287, 76%, 67%)
HSVhsv(287, 54%, 92%)
CMYKcmyk(11.9%, 54%, 0%, 7.8%)
CIE-LABlab(61.65, 58.13, -48.05)
CIE-LCHlch(61.65, 75.42, 320.43°)
OKLaboklab(69.38% 0.1503 -0.1337)
OKLCHoklch(69.38% 0.201 318.4)
XYZxyz(46.0881, 29.9904, 81.9422)
Luminance0.2999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6CEB #88EB6C
analogous
#906CEB #CF6CEB #EB6CC7
triadic
#CF6CEB #EBCF6C #6CEBCF
tetradic
#CF6CEB #EB906C #88EB6C #6CC7EB
square
#CF6CEB #EB906C #88EB6C #6CC7EB
split-complementary
#CF6CEB #C7EB6C #6CEB90
monochromatic
#9D1AC2 #BD36E4 #CF6CEB #E1A2F2 #F2D8FA

Accessibility & contrast

On white

3.00
#CF6CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CF6CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6CEB
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6CEB#FFFFFF#000000##000000
##CF6CEB1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#518EEF
Deuteranopia (green-blind)
#7298E8
Tritanopia (blue-blind)
#CF7FA2
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf6ceb;
/* rgb */ color: rgb(207, 108, 235);
/* oklch */ color: oklch(69.4% 0.201 318.4);
Tailwind
colors: {
  custom: {
    50: '#e09af2',
    500: '#cf6ceb',
    950: '#000000',
  },
}
SCSS
$custom: #cf6ceb;
$custom-light: #e09af2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6ceb",
  "rgb": {
    "r": 207,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 286.772,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69382,
    "c": 0.20118,
    "h": 318.4
  },
  "luminance": 0.29989
}

Semantic roles & 50–950 ramp

primary
#CF6CEB
secondary
#CEEDC5
accent
#D80D3A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160E17
muted
#847E85

Preview Lab

Preview with #CF6CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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