#CF78DD#CF78DD

#CF78DD is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.4% C 0.168 H 321.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#CF78DD
RGBrgb(207, 120, 221)
HSLhsl(292, 60%, 67%)
HSVhsv(292, 46%, 87%)
CMYKcmyk(6.3%, 45.7%, 0%, 13.3%)
CIE-LABlab(63.28, 49.42, -37.68)
CIE-LCHlch(63.28, 62.15, 322.67°)
OKLaboklab(70.37% 0.1324 -0.1038)
OKLCHoklch(70.37% 0.168 321.9)
XYZxyz(45.4983, 31.9206, 72.1573)
Luminance0.3192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78DD #86DD78
analogous
#9D78DD #CF78DD #DD78B9
triadic
#CF78DD #DDCF78 #78DDCF
tetradic
#CF78DD #DD9D78 #86DD78 #78B9DD
square
#CF78DD #DD9D78 #86DD78 #78B9DD
split-complementary
#CF78DD #B9DD78 #78DD9D
monochromatic
#9D2CAF #BE47D1 #CF78DD #E0A9E9 #F2DAF6

Accessibility & contrast

On white

2.84
#CF78DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#CF78DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78DD
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78DD#FFFFFF#000000##000000
##CF78DD1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A93E1
Deuteranopia (green-blind)
#839DDA
Tritanopia (blue-blind)
#D184A0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf78dd;
/* rgb */ color: rgb(207, 120, 221);
/* oklch */ color: oklch(70.4% 0.168 321.9);
Tailwind
colors: {
  custom: {
    50: '#dfa1e8',
    500: '#cf78dd',
    950: '#000000',
  },
}
SCSS
$custom: #cf78dd;
$custom-light: #dfa1e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78dd",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 221
  },
  "hsl": {
    "h": 291.683,
    "s": 59.763,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70374,
    "c": 0.16826,
    "h": 321.9
  },
  "luminance": 0.31919
}

Semantic roles & 50–950 ramp

primary
#CF78DD
secondary
#CDE9C8
accent
#C71E36
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78DD

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

Preview Lab → · Contrast checker → · Palette generator →

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