#CF78CB#CF78CB

#CF78CB is a light, vivid purple. Relative luminance 0.310; OKLCH L 69.6% C 0.151 H 328.7°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#CF78CB
RGBrgb(207, 120, 203)
HSLhsl(303, 48%, 64%)
HSVhsv(303, 42%, 81%)
CMYKcmyk(0%, 42%, 1.9%, 18.8%)
CIE-LABlab(62.52, 46.07, -28.77)
CIE-LCHlch(62.52, 54.32, 328.02°)
OKLaboklab(69.56% 0.129 -0.0784)
OKLCHoklch(69.56% 0.151 328.7)
XYZxyz(43.2274, 31.0123, 60.1974)
Luminance0.3101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF78CB #78CF7C
analogous
#A878CF #CF78CB #CF78A0
triadic
#CF78CB #CBCF78 #78CBCF
tetradic
#CF78CB #CFA878 #78CF7C #78A0CF
square
#CF78CB #CFA878 #78CF7C #78A0CF
split-complementary
#CF78CB #A0CF78 #78CFA8
monochromatic
#973692 #BF4BBA #CF78CB #DFA5DC #EFD2EE

Accessibility & contrast

On white

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

On black

7.20
#CF78CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF78CB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF78CB#FFFFFF#000000##000000
##CF78CB1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7390CE
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#D58098
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf78cb;
/* rgb */ color: rgb(207, 120, 203);
/* oklch */ color: oklch(69.6% 0.151 328.7);
Tailwind
colors: {
  custom: {
    50: '#dfa1db',
    500: '#cf78cb',
    950: '#000000',
  },
}
SCSS
$custom: #cf78cb;
$custom-light: #dfa1db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf78cb",
  "rgb": {
    "r": 207,
    "g": 120,
    "b": 203
  },
  "hsl": {
    "h": 302.759,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69558,
    "c": 0.15091,
    "h": 328.7
  },
  "luminance": 0.3101
}

Semantic roles & 50–950 ramp

primary
#CF78CB
secondary
#C2E1C4
accent
#BB312B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF78CB

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

Preview Lab → · Contrast checker → · Palette generator →

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