#CB78BF#CB78BF

#CB78BF is a light, vivid purple. Relative luminance 0.299; OKLCH L 68.6% C 0.137 H 332.4°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CB78BF
RGBrgb(203, 120, 191)
HSLhsl(309, 44%, 63%)
HSVhsv(309, 41%, 80%)
CMYKcmyk(0%, 40.9%, 5.9%, 20.4%)
CIE-LABlab(61.56, 42.70, -23.50)
CIE-LCHlch(61.56, 48.74, 331.17°)
OKLaboklab(68.58% 0.1216 -0.0636)
OKLCHoklch(68.58% 0.137 332.4)
XYZxyz(40.7487, 29.8932, 52.9037)
Luminance0.2989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78BF #78CB84
analogous
#AD78CB #CB78BF #CB7895
triadic
#CB78BF #BFCB78 #78BFCB
tetradic
#CB78BF #CBAD78 #78CB84 #7895CB
square
#CB78BF #CBAD78 #78CB84 #7895CB
split-complementary
#CB78BF #95CB78 #78CBAD
monochromatic
#913884 #BA4CAA #CB78BF #DCA4D4 #EDD0E9

Accessibility & contrast

On white

3.01
#CB78BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CB78BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB78BF
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78BF#FFFFFF#000000##000000
##CB78BF1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#768DC2
Deuteranopia (green-blind)
#8C99BC
Tritanopia (blue-blind)
#D27D93
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cb78bf;
/* rgb */ color: rgb(203, 120, 191);
/* oklch */ color: oklch(68.6% 0.137 332.4);
Tailwind
colors: {
  custom: {
    50: '#dca1d2',
    500: '#cb78bf',
    950: '#000000',
  },
}
SCSS
$custom: #cb78bf;
$custom-light: #dca1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78bf",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 191
  },
  "hsl": {
    "h": 308.675,
    "s": 44.385,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68582,
    "c": 0.13721,
    "h": 332.4
  },
  "luminance": 0.29891
}

Semantic roles & 50–950 ramp

primary
#CB78BF
secondary
#C1DEC5
accent
#B8422E
background
#FDFAFC
surface
#FBF3F9
border
#D4CDD2
text
#150F14
muted
#837F82

Preview Lab

Preview with #CB78BF

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

Preview Lab → · Contrast checker → · Palette generator →

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