#CF78DA#CF78DA

#CF78DA is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.2% C 0.165 H 322.9°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#CF78DA
RGBrgb(207, 120, 218)
HSLhsl(293, 57%, 66%)
HSVhsv(293, 45%, 85%)
CMYKcmyk(5%, 45%, 0%, 14.5%)
CIE-LABlab(63.15, 48.85, -36.21)
CIE-LCHlch(63.15, 60.81, 323.45°)
OKLaboklab(70.23% 0.1319 -0.0996)
OKLCHoklch(70.23% 0.165 322.9)
XYZxyz(45.1022, 31.7622, 70.0710)
Luminance0.3176 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78DA #83DA78
analogous
#9E78DA #CF78DA #DA78B4
triadic
#CF78DA #DACF78 #78DACF
tetradic
#CF78DA #DA9E78 #83DA78 #78B4DA
square
#CF78DA #DA9E78 #83DA78 #78B4DA
split-complementary
#CF78DA #B4DA78 #78DA9E
monochromatic
#9B2EA9 #BE48CD #CF78DA #E0A8E7 #F1D8F4

Accessibility & contrast

On white

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

On black

7.35
#CF78DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78DA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78DA#FFFFFF#000000##000000
##CF78DA1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C92DD
Deuteranopia (green-blind)
#849CD7
Tritanopia (blue-blind)
#D2849F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf78da;
/* rgb */ color: rgb(207, 120, 218);
/* oklch */ color: oklch(70.2% 0.165 322.9);
Tailwind
colors: {
  custom: {
    50: '#dfa1e6',
    500: '#cf78da',
    950: '#000000',
  },
}
SCSS
$custom: #cf78da;
$custom-light: #dfa1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78da",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 218
  },
  "hsl": {
    "h": 293.265,
    "s": 56.977,
    "l": 66.275
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.16529,
    "h": 322.9
  },
  "luminance": 0.3176
}

Semantic roles & 50–950 ramp

primary
#CF78DA
secondary
#CAE7C7
accent
#C52133
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78DA

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

Preview Lab → · Contrast checker → · Palette generator →

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