#CF8CE6#CF8CE6

#CF8CE6 is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.9% C 0.144 H 317.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CF8CE6
RGBrgb(207, 140, 230)
HSLhsl(285, 64%, 73%)
HSVhsv(285, 39%, 90%)
CMYKcmyk(10%, 39.1%, 0%, 9.8%)
CIE-LABlab(67.83, 40.66, -35.59)
CIE-LCHlch(67.83, 54.04, 318.81°)
OKLaboklab(73.91% 0.1056 -0.098)
OKLCHoklch(73.91% 0.144 317.1)
XYZxyz(49.3911, 37.7361, 79.5295)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CE6 #A3E68C
analogous
#A28CE6 #CF8CE6 #E68CD0
triadic
#CF8CE6 #E6CF8C #8CE6CF
tetradic
#CF8CE6 #E6A28C #A3E68C #8CD0E6
square
#CF8CE6 #E6A28C #A3E68C #8CD0E6
split-complementary
#CF8CE6 #D0E68C #8CE6A2
monochromatic
#A32CCB #BA5ADB #CF8CE6 #E4BEF1 #F5E6FA

Accessibility & contrast

On white

2.46
#CF8CE6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#CF8CE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CE6
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CE6#FFFFFF#000000##000000
##CF8CE61.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA1E9
Deuteranopia (green-blind)
#8FA7E3
Tritanopia (blue-blind)
#CF98AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8ce6;
/* rgb */ color: rgb(207, 140, 230);
/* oklch */ color: oklch(73.9% 0.144 317.1);
Tailwind
colors: {
  custom: {
    50: '#dfafee',
    500: '#cf8ce6',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ce6;
$custom-light: #dfafee;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ce6",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 230
  },
  "hsl": {
    "h": 284.667,
    "s": 64.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73906,
    "c": 0.14403,
    "h": 317.1
  },
  "luminance": 0.37735
}

Semantic roles & 50–950 ramp

primary
#CF8CE6
secondary
#E0F1DA
accent
#CC1947
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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