#CB78FA#CB78FA

#CB78FA is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.4% C 0.197 H 311.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CB78FA
RGBrgb(203, 120, 250)
HSLhsl(278, 93%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(18.8%, 52%, 0%, 2%)
CIE-LABlab(64.19, 54.18, -52.35)
CIE-LCHlch(64.19, 75.34, 315.99°)
OKLaboklab(71.4% 0.1313 -0.1464)
OKLCHoklch(71.4% 0.197 311.9)
XYZxyz(48.5973, 33.0326, 94.2398)
Luminance0.3303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78FA #A7FA78
analogous
#8A78FA #CB78FA #FA78E8
triadic
#CB78FA #FACB78 #78FACB
tetradic
#CB78FA #FA8A78 #A7FA78 #78E8FA
square
#CB78FA #FA8A78 #A7FA78 #78E8FA
split-complementary
#CB78FA #E8FA78 #78FA8A
monochromatic
#9C09EF #B43DF8 #CB78FA #E2B3FC #F4E1FE

Accessibility & contrast

On white

2.76
#CB78FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CB78FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78FA
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78FA#FFFFFF#000000##000000
##CB78FA1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#C68EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb78fa;
/* rgb */ color: rgb(203, 120, 250);
/* oklch */ color: oklch(71.4% 0.197 311.9);
Tailwind
colors: {
  custom: {
    50: '#dda2fc',
    500: '#cb78fa',
    950: '#000000',
  },
}
SCSS
$custom: #cb78fa;
$custom-light: #dda2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78fa",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 278.308,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71395,
    "c": 0.19661,
    "h": 311.9
  },
  "luminance": 0.33032
}

Semantic roles & 50–950 ramp

primary
#CB78FA
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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