#CB78FF#CB78FF

#CB78FF is a light, highly saturated violet. Relative luminance 0.333; OKLCH L 71.7% C 0.202 H 310.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CB78FF
RGBrgb(203, 120, 255)
HSLhsl(277, 100%, 74%)
HSVhsv(277, 53%, 100%)
CMYKcmyk(20.4%, 52.9%, 0%, 0%)
CIE-LABlab(64.44, 55.24, -54.68)
CIE-LCHlch(64.44, 77.73, 315.29°)
OKLaboklab(71.67% 0.1317 -0.1532)
OKLCHoklch(71.67% 0.202 310.7)
XYZxyz(49.3917, 33.3504, 98.4237)
Luminance0.3335 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78FF #ACFF78
analogous
#8778FF #CB78FF #FF78EF
triadic
#CB78FF #FFCB78 #78FFCB
tetradic
#CB78FF #FF8778 #ACFF78 #78EFFF
square
#CB78FF #FF8778 #ACFF78 #78EFFF
split-complementary
#CB78FF #EFFF78 #78FF87
monochromatic
#9B00FD #B33BFF #CB78FF #E3B5FF #F3E0FF

Accessibility & contrast

On white

2.74
#CB78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#CB78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78FF
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78FF#FFFFFF#000000##000000
##CB78FF1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6D9EFC
Tritanopia (blue-blind)
#C58FB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb78ff;
/* rgb */ color: rgb(203, 120, 255);
/* oklch */ color: oklch(71.7% 0.202 310.7);
Tailwind
colors: {
  custom: {
    50: '#dea2ff',
    500: '#cb78ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb78ff;
$custom-light: #dea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78ff",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 276.889,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71668,
    "c": 0.20197,
    "h": 310.7
  },
  "luminance": 0.33349
}

Semantic roles & 50–950 ramp

primary
#CB78FF
secondary
#E1F7D4
accent
#E60058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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