#CF8ACA#CF8ACA

#CF8ACA is a light, moderate purple. Relative luminance 0.357; OKLCH L 72.4% C 0.118 H 329.2°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#CF8ACA
RGBrgb(207, 138, 202)
HSLhsl(304, 42%, 68%)
HSVhsv(304, 33%, 81%)
CMYKcmyk(0%, 33.3%, 2.4%, 18.8%)
CIE-LABlab(66.30, 36.35, -22.41)
CIE-LCHlch(66.30, 42.70, 328.35°)
OKLaboklab(72.39% 0.1018 -0.0606)
OKLCHoklch(72.39% 0.119 329.2)
XYZxyz(45.4805, 35.7085, 60.3624)
Luminance0.3571 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8ACA #8ACF8F
analogous
#B28ACF #CF8ACA #CF8AA7
triadic
#CF8ACA #CACF8A #8ACACF
tetradic
#CF8ACA #CFB28A #8ACF8F #8AA7CF
square
#CF8ACA #CFB28A #8ACF8F #8AA7CF
split-complementary
#CF8ACA #A7CF8A #8ACFB2
monochromatic
#9E4197 #BD5FB6 #CF8ACA #E1B5DE #F3E1F1

Accessibility & contrast

On white

2.58
#CF8ACA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#CF8ACA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8ACA
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8ACA#FFFFFF#000000##000000
##CF8ACA1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#879BCC
Deuteranopia (green-blind)
#98A4C8
Tritanopia (blue-blind)
#D48FA1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cf8aca;
/* rgb */ color: rgb(207, 138, 202);
/* oklch */ color: oklch(72.4% 0.118 329.2);
Tailwind
colors: {
  custom: {
    50: '#deadda',
    500: '#cf8aca',
    950: '#000000',
  },
}
SCSS
$custom: #cf8aca;
$custom-light: #deadda;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8aca",
  "rgb": {
    "r": 207,
    "g": 138,
    "b": 202
  },
  "hsl": {
    "h": 304.348,
    "s": 41.818,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72391,
    "c": 0.1185,
    "h": 329.2
  },
  "luminance": 0.35707
}

Semantic roles & 50–950 ramp

primary
#CF8ACA
secondary
#D0E5D1
accent
#B53A31
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CF8ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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