#CF78D8#CF78D8

#CF78D8 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.1% C 0.163 H 323.7°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CF78D8
RGBrgb(207, 120, 216)
HSLhsl(294, 55%, 66%)
HSVhsv(294, 44%, 85%)
CMYKcmyk(4.2%, 44.4%, 0%, 15.3%)
CIE-LABlab(63.06, 48.47, -35.23)
CIE-LCHlch(63.06, 59.92, 323.99°)
OKLaboklab(70.14% 0.1316 -0.0968)
OKLCHoklch(70.14% 0.163 323.7)
XYZxyz(44.8420, 31.6581, 68.7010)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78D8 #81D878
analogous
#9F78D8 #CF78D8 #D878B1
triadic
#CF78D8 #D8CF78 #78D8CF
tetradic
#CF78D8 #D89F78 #81D878 #78B1D8
square
#CF78D8 #D89F78 #81D878 #78B1D8
split-complementary
#CF78D8 #B1D878 #78D89F
monochromatic
#9B30A6 #BE49CA #CF78D8 #E0A7E6 #F1D7F3

Accessibility & contrast

On white

2.86
#CF78D8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CF78D8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78D8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78D8#FFFFFF#000000##000000
##CF78D81.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D92DB
Deuteranopia (green-blind)
#859CD5
Tritanopia (blue-blind)
#D2839E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf78d8;
/* rgb */ color: rgb(207, 120, 216);
/* oklch */ color: oklch(70.1% 0.163 323.7);
Tailwind
colors: {
  custom: {
    50: '#dfa1e4',
    500: '#cf78d8',
    950: '#000000',
  },
}
SCSS
$custom: #cf78d8;
$custom-light: #dfa1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78d8",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 216
  },
  "hsl": {
    "h": 294.375,
    "s": 55.172,
    "l": 65.882
  },
  "oklch": {
    "l": 0.7014,
    "c": 0.16332,
    "h": 323.7
  },
  "luminance": 0.31656
}

Semantic roles & 50–950 ramp

primary
#CF78D8
secondary
#C9E6C6
accent
#C32332
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CF78D8

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

Preview Lab → · Contrast checker → · Palette generator →

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