#CB78CA#CB78CA

#CB78CA is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.0% C 0.147 H 327.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CB78CA
RGBrgb(203, 120, 202)
HSLhsl(301, 44%, 63%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 40.9%, 0.5%, 20.4%)
CIE-LABlab(61.99, 44.67, -29.06)
CIE-LCHlch(61.99, 53.29, 326.96°)
OKLaboklab(69.05% 0.1242 -0.0793)
OKLCHoklch(69.05% 0.147 327.4)
XYZxyz(42.0050, 30.3957, 59.5200)
Luminance0.3039 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78CA #78CB79
analogous
#A278CB #CB78CA #CB78A0
triadic
#CB78CA #CACB78 #78CACB
tetradic
#CB78CA #CBA278 #78CB79 #78A0CB
square
#CB78CA #CBA278 #78CB79 #78A0CB
split-complementary
#CB78CA #A0CB78 #78CBA2
monochromatic
#913890 #BA4CB9 #CB78CA #DCA4DB #EDD0ED

Accessibility & contrast

On white

2.97
#CB78CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CB78CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78CA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78CA#FFFFFF#000000##000000
##CB78CA1.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#889AC7
Tritanopia (blue-blind)
#D08098
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb78ca;
/* rgb */ color: rgb(203, 120, 202);
/* oklch */ color: oklch(69.0% 0.147 327.4);
Tailwind
colors: {
  custom: {
    50: '#dca1da',
    500: '#cb78ca',
    950: '#000000',
  },
}
SCSS
$custom: #cb78ca;
$custom-light: #dca1da;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78ca",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 300.723,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.69049,
    "c": 0.14731,
    "h": 327.4
  },
  "luminance": 0.30394
}

Semantic roles & 50–950 ramp

primary
#CB78CA
secondary
#C1DEC1
accent
#B8302E
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CB78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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