#CF8ECB#CF8ECB

#CF8ECB is a light, moderate purple. Relative luminance 0.369; OKLCH L 73.1% C 0.112 H 328.8°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CF8ECB
RGBrgb(207, 142, 203)
HSLhsl(304, 40%, 68%)
HSVhsv(304, 31%, 81%)
CMYKcmyk(0%, 31.4%, 1.9%, 18.8%)
CIE-LABlab(67.22, 34.38, -21.55)
CIE-LCHlch(67.22, 40.57, 327.91°)
OKLaboklab(73.1% 0.096 -0.0582)
OKLCHoklch(73.1% 0.112 328.8)
XYZxyz(46.1838, 36.9250, 61.1828)
Luminance0.3692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8ECB #8ECF92
analogous
#B28ECF #CF8ECB #CF8EAA
triadic
#CF8ECB #CBCF8E #8ECBCF
tetradic
#CF8ECB #CFB28E #8ECF92 #8EAACF
square
#CF8ECB #CFB28E #8ECF92 #8EAACF
split-complementary
#CF8ECB #AACF8E #8ECFB2
monochromatic
#9F4499 #BD63B7 #CF8ECB #E1B9DF #F3E4F3

Accessibility & contrast

On white

2.50
#CF8ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CF8ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8ECB
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8ECB#FFFFFF#000000##000000
##CF8ECB1.002.508.388.38
#FFFFFF2.501.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B9ECD
Deuteranopia (green-blind)
#9BA7C9
Tritanopia (blue-blind)
#D493A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cf8ecb;
/* rgb */ color: rgb(207, 142, 203);
/* oklch */ color: oklch(73.1% 0.112 328.8);
Tailwind
colors: {
  custom: {
    50: '#deb0db',
    500: '#cf8ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ecb;
$custom-light: #deb0db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ecb",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 203
  },
  "hsl": {
    "h": 303.692,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.73104,
    "c": 0.11232,
    "h": 328.8
  },
  "luminance": 0.36923
}

Semantic roles & 50–950 ramp

primary
#CF8ECB
secondary
#D3E6D4
accent
#B33A32
background
#FDFAFD
surface
#FBF5FA
border
#D4CFD3
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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