#CF78CA#CF78CA

#CF78CA is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.5% C 0.150 H 329.1°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CF78CA
RGBrgb(207, 120, 202)
HSLhsl(303, 48%, 64%)
HSVhsv(303, 42%, 81%)
CMYKcmyk(0%, 42%, 2.4%, 18.8%)
CIE-LABlab(62.48, 45.89, -28.27)
CIE-LCHlch(62.48, 53.90, 328.37°)
OKLaboklab(69.52% 0.1287 -0.077)
OKLCHoklch(69.52% 0.15 329.1)
XYZxyz(43.1086, 30.9648, 59.5718)
Luminance0.3096 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78CA #78CF7D
analogous
#A978CF #CF78CA #CF789F
triadic
#CF78CA #CACF78 #78CACF
tetradic
#CF78CA #CFA978 #78CF7D #789FCF
square
#CF78CA #CFA978 #78CF7D #789FCF
split-complementary
#CF78CA #9FCF78 #78CFA9
monochromatic
#973691 #BF4BB8 #CF78CA #DFA5DC #EFD2ED

Accessibility & contrast

On white

2.92
#CF78CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CF78CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78CA
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78CA#FFFFFF#000000##000000
##CF78CA1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CD
Deuteranopia (green-blind)
#8B9BC7
Tritanopia (blue-blind)
#D57F98
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf78ca;
/* rgb */ color: rgb(207, 120, 202);
/* oklch */ color: oklch(69.5% 0.150 329.1);
Tailwind
colors: {
  custom: {
    50: '#dfa1da',
    500: '#cf78ca',
    950: '#000000',
  },
}
SCSS
$custom: #cf78ca;
$custom-light: #dfa1da;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78ca",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 303.448,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69515,
    "c": 0.14999,
    "h": 329.1
  },
  "luminance": 0.30963
}

Semantic roles & 50–950 ramp

primary
#CF78CA
secondary
#C2E1C4
accent
#BB332B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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