#CB78F6#CB78F6

#CB78F6 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.2% C 0.192 H 312.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CB78F6
RGBrgb(203, 120, 246)
HSLhsl(280, 88%, 72%)
HSVhsv(280, 51%, 96%)
CMYKcmyk(17.5%, 51.2%, 0%, 3.5%)
CIE-LABlab(63.99, 53.34, -50.46)
CIE-LCHlch(63.99, 73.43, 316.59°)
OKLaboklab(71.18% 0.1309 -0.1409)
OKLCHoklch(71.18% 0.192 312.9)
XYZxyz(47.9768, 32.7844, 90.9716)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78F6 #A3F678
analogous
#8C78F6 #CB78F6 #F678E2
triadic
#CB78F6 #F6CB78 #78F6CB
tetradic
#CB78F6 #F68C78 #A3F678 #78E2F6
square
#CB78F6 #F68C78 #A3F678 #78E2F6
split-complementary
#CB78F6 #E2F678 #78F68C
monochromatic
#9C0FE4 #B53FF2 #CB78F6 #E1B1FA #F4E2FD

Accessibility & contrast

On white

2.78
#CB78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CB78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78F6
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78F6#FFFFFF#000000##000000
##CB78F61.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#739DF3
Tritanopia (blue-blind)
#C78CAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb78f6;
/* rgb */ color: rgb(203, 120, 246);
/* oklch */ color: oklch(71.2% 0.192 312.9);
Tailwind
colors: {
  custom: {
    50: '#dda1fa',
    500: '#cb78f6',
    950: '#000000',
  },
}
SCSS
$custom: #cb78f6;
$custom-light: #dda1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78f6",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 279.524,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71181,
    "c": 0.19233,
    "h": 312.9
  },
  "luminance": 0.32783
}

Semantic roles & 50–950 ramp

primary
#CB78F6
secondary
#E0F5D5
accent
#E4014F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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