#CF8FCF#CF8FCF

#CF8FCF is a light, moderate purple. Relative luminance 0.374; OKLCH L 73.4% C 0.114 H 326.7°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CF8FCF
RGBrgb(207, 143, 207)
HSLhsl(300, 40%, 69%)
HSVhsv(300, 31%, 81%)
CMYKcmyk(0%, 30.9%, 0%, 18.8%)
CIE-LABlab(67.59, 34.57, -23.22)
CIE-LCHlch(67.59, 41.65, 326.12°)
OKLaboklab(73.43% 0.0956 -0.0629)
OKLCHoklch(73.43% 0.114 326.7)
XYZxyz(46.8160, 37.4170, 63.7755)
Luminance0.3741 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8FCF #8FCF8F
analogous
#AF8FCF #CF8FCF #CF8FAF
triadic
#CF8FCF #CFCF8F #8FCFCF
tetradic
#CF8FCF #CFAF8F #8FCF8F #8FAFCF
square
#CF8FCF #CFAF8F #8FCF8F #8FAFCF
split-complementary
#CF8FCF #AFCF8F #8FCFAF
monochromatic
#9F449F #BD64BD #CF8FCF #E1BAE1 #F4E5F4

Accessibility & contrast

On white

2.48
#CF8FCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CF8FCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8FCF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8FCF#FFFFFF#000000##000000
##CF8FCF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BA0D1
Deuteranopia (green-blind)
#9AA8CD
Tritanopia (blue-blind)
#D395A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf8fcf;
/* rgb */ color: rgb(207, 143, 207);
/* oklch */ color: oklch(73.4% 0.114 326.7);
Tailwind
colors: {
  custom: {
    50: '#deb0dd',
    500: '#cf8fcf',
    950: '#000000',
  },
}
SCSS
$custom: #cf8fcf;
$custom-light: #deb0dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8fcf",
  "rgb": {
    "r": 207,
    "g": 143,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 40,
    "l": 68.627
  },
  "oklch": {
    "l": 0.73431,
    "c": 0.11448,
    "h": 326.7
  },
  "luminance": 0.37415
}

Semantic roles & 50–950 ramp

primary
#CF8FCF
secondary
#D3E6D3
accent
#B33232
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CF8FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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