#CF8BED#CF8BED

#CF8BED is a light, vivid purple. Relative luminance 0.378; OKLCH L 74.1% C 0.153 H 314.9°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CF8BED
RGBrgb(207, 139, 237)
HSLhsl(282, 73%, 74%)
HSVhsv(282, 41%, 93%)
CMYKcmyk(12.7%, 41.4%, 0%, 7.1%)
CIE-LABlab(67.91, 42.63, -39.32)
CIE-LCHlch(67.91, 57.99, 317.31°)
OKLaboklab(74.06% 0.1084 -0.1086)
OKLCHoklch(74.06% 0.153 314.9)
XYZxyz(50.2484, 37.8463, 84.7624)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BED #A9ED8B
analogous
#9E8BED #CF8BED #ED8BDA
triadic
#CF8BED #EDCF8B #8BEDCF
tetradic
#CF8BED #ED9E8B #A9ED8B #8BDAED
square
#CF8BED #ED9E8B #A9ED8B #8BDAED
split-complementary
#CF8BED #DAED8B #8BED9E
monochromatic
#A322DC #B956E5 #CF8BED #E5C0F5 #F4E5FB

Accessibility & contrast

On white

2.45
#CF8BED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CF8BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BED
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BED#FFFFFF#000000##000000
##CF8BED1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA1F1
Deuteranopia (green-blind)
#8BA7EA
Tritanopia (blue-blind)
#CD99B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8bed;
/* rgb */ color: rgb(207, 139, 237);
/* oklch */ color: oklch(74.1% 0.153 314.9);
Tailwind
colors: {
  custom: {
    50: '#dfaef3',
    500: '#cf8bed',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bed;
$custom-light: #dfaef3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bed",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 237
  },
  "hsl": {
    "h": 281.633,
    "s": 73.134,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74064,
    "c": 0.15346,
    "h": 314.9
  },
  "luminance": 0.37845
}

Semantic roles & 50–950 ramp

primary
#CF8BED
secondary
#E0F3D8
accent
#D5104D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CF8BED

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

Preview Lab → · Contrast checker → · Palette generator →

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