#CF8BDA#CF8BDA

#CF8BDA is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.2% C 0.133 H 321.8°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#CF8BDA
RGBrgb(207, 139, 218)
HSLhsl(292, 52%, 70%)
HSVhsv(292, 36%, 85%)
CMYKcmyk(5%, 36.2%, 0%, 14.5%)
CIE-LABlab(67.12, 38.83, -30.04)
CIE-LCHlch(67.12, 49.09, 322.27°)
OKLaboklab(73.22% 0.1044 -0.0821)
OKLCHoklch(73.22% 0.133 321.8)
XYZxyz(47.6182, 36.7942, 70.9097)
Luminance0.3679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BDA #96DA8B
analogous
#A88BDA #CF8BDA #DA8BBD
triadic
#CF8BDA #DACF8B #8BDACF
tetradic
#CF8BDA #DAA88B #96DA8B #8BBDDA
square
#CF8BDA #DAA88B #96DA8B #8BBDDA
split-complementary
#CF8BDA #BDDA8B #8BDAA8
monochromatic
#A139B2 #BC5DCB #CF8BDA #E2B9E9 #F5E8F8

Accessibility & contrast

On white

2.51
#CF8BDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.36
#CF8BDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BDA
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BDA#FFFFFF#000000##000000
##CF8BDA1.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#829EDD
Deuteranopia (green-blind)
#93A6D7
Tritanopia (blue-blind)
#D194A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cf8bda;
/* rgb */ color: rgb(207, 139, 218);
/* oklch */ color: oklch(73.2% 0.133 321.8);
Tailwind
colors: {
  custom: {
    50: '#dfaee5',
    500: '#cf8bda',
    950: '#000000',
  },
}
SCSS
$custom: #cf8bda;
$custom-light: #dfaee5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8bda",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 218
  },
  "hsl": {
    "h": 291.646,
    "s": 51.634,
    "l": 70
  },
  "oklch": {
    "l": 0.73216,
    "c": 0.13284,
    "h": 321.8
  },
  "luminance": 0.36793
}

Semantic roles & 50–950 ramp

primary
#CF8BDA
secondary
#D8EBD5
accent
#BF263C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CF8BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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