#CF78D5#CF78D5

#CF78D5 is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.0% C 0.160 H 324.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CF78D5
RGBrgb(207, 120, 213)
HSLhsl(296, 53%, 65%)
HSVhsv(296, 44%, 84%)
CMYKcmyk(2.8%, 43.7%, 0%, 16.5%)
CIE-LABlab(62.93, 47.91, -33.75)
CIE-LCHlch(62.93, 58.60, 324.83°)
OKLaboklab(70% 0.131 -0.0925)
OKLCHoklch(70% 0.16 324.8)
XYZxyz(44.4577, 31.5044, 66.6771)
Luminance0.3150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78D5 #7ED578
analogous
#A078D5 #CF78D5 #D578AC
triadic
#CF78D5 #D5CF78 #78D5CF
tetradic
#CF78D5 #D5A078 #7ED578 #78ACD5
square
#CF78D5 #D5A078 #7ED578 #78ACD5
split-complementary
#CF78D5 #ACD578 #78D5A0
monochromatic
#9932A1 #BE49C6 #CF78D5 #E0A7E4 #F0D5F2

Accessibility & contrast

On white

2.88
#CF78D5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CF78D5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78D5
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78D5#FFFFFF#000000##000000
##CF78D51.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E91D8
Deuteranopia (green-blind)
#869CD2
Tritanopia (blue-blind)
#D3829D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf78d5;
/* rgb */ color: rgb(207, 120, 213);
/* oklch */ color: oklch(70.0% 0.160 324.8);
Tailwind
colors: {
  custom: {
    50: '#dfa1e2',
    500: '#cf78d5',
    950: '#000000',
  },
}
SCSS
$custom: #cf78d5;
$custom-light: #dfa1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78d5",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 213
  },
  "hsl": {
    "h": 296.129,
    "s": 52.542,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70003,
    "c": 0.16039,
    "h": 324.8
  },
  "luminance": 0.31502
}

Semantic roles & 50–950 ramp

primary
#CF78D5
secondary
#C7E4C5
accent
#C02630
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF78D5

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

Preview Lab → · Contrast checker → · Palette generator →

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