#CB78FD#CB78FD

#CB78FD is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.6% C 0.200 H 311.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CB78FD
RGBrgb(203, 120, 253)
HSLhsl(277, 97%, 73%)
HSVhsv(277, 53%, 99%)
CMYKcmyk(19.8%, 52.6%, 0%, 0.8%)
CIE-LABlab(64.34, 54.82, -53.75)
CIE-LCHlch(64.34, 76.77, 315.56°)
OKLaboklab(71.56% 0.1315 -0.1504)
OKLCHoklch(71.56% 0.2 311.2)
XYZxyz(49.0715, 33.2223, 96.7370)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78FD #AAFD78
analogous
#8878FD #CB78FD #FD78EC
triadic
#CB78FD #FDCB78 #78FDCB
tetradic
#CB78FD #FD8878 #AAFD78 #78ECFD
square
#CB78FD #FD8878 #AAFD78 #78ECFD
split-complementary
#CB78FD #ECFD78 #78FD88
monochromatic
#9B04F7 #B43CFC #CB78FD #E2B4FE #F3E1FF

Accessibility & contrast

On white

2.75
#CB78FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#CB78FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78FD
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78FD#FFFFFF#000000##000000
##CB78FD1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5398FF
Deuteranopia (green-blind)
#6E9EFA
Tritanopia (blue-blind)
#C58FAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb78fd;
/* rgb */ color: rgb(203, 120, 253);
/* oklch */ color: oklch(71.6% 0.200 311.2);
Tailwind
colors: {
  custom: {
    50: '#dda2fe',
    500: '#cb78fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb78fd;
$custom-light: #dda2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78fd",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 277.444,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71558,
    "c": 0.19983,
    "h": 311.2
  },
  "luminance": 0.33221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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