#CF78DB#CF78DB

#CF78DB is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.3% C 0.166 H 322.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CF78DB
RGBrgb(207, 120, 219)
HSLhsl(293, 58%, 66%)
HSVhsv(293, 45%, 86%)
CMYKcmyk(5.5%, 45.2%, 0%, 14.1%)
CIE-LABlab(63.19, 49.04, -36.70)
CIE-LCHlch(63.19, 61.25, 323.18°)
OKLaboklab(70.28% 0.1321 -0.101)
OKLCHoklch(70.28% 0.166 322.6)
XYZxyz(45.2334, 31.8147, 70.7623)
Luminance0.3181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78DB #84DB78
analogous
#9E78DB #CF78DB #DB78B6
triadic
#CF78DB #DBCF78 #78DBCF
tetradic
#CF78DB #DB9E78 #84DB78 #78B6DB
square
#CF78DB #DB9E78 #84DB78 #78B6DB
split-complementary
#CF78DB #B6DB78 #78DB9E
monochromatic
#9C2EAB #BE48CE #CF78DB #E0A8E8 #F1D9F5

Accessibility & contrast

On white

2.85
#CF78DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#CF78DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78DB
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78DB#FFFFFF#000000##000000
##CF78DB1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf78db;
/* rgb */ color: rgb(207, 120, 219);
/* oklch */ color: oklch(70.3% 0.166 322.6);
Tailwind
colors: {
  custom: {
    50: '#dfa1e6',
    500: '#cf78db',
    950: '#000000',
  },
}
SCSS
$custom: #cf78db;
$custom-light: #dfa1e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78db",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 219
  },
  "hsl": {
    "h": 292.727,
    "s": 57.895,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.16627,
    "h": 322.6
  },
  "luminance": 0.31813
}

Semantic roles & 50–950 ramp

primary
#CF78DB
secondary
#CBE7C7
accent
#C52034
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF78DB

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

Preview Lab → · Contrast checker → · Palette generator →

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