#CB78FB#CB78FB

#CB78FB is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.4% C 0.198 H 311.6°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CB78FB
RGBrgb(203, 120, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(19.1%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.24, 54.39, -52.81)
CIE-LCHlch(64.24, 75.82, 315.84°)
OKLaboklab(71.45% 0.1314 -0.1477)
OKLCHoklch(71.45% 0.198 311.6)
XYZxyz(48.7545, 33.0955, 95.0678)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78FB #A8FB78
analogous
#8978FB #CB78FB #FB78EA
triadic
#CB78FB #FBCB78 #78FBCB
tetradic
#CB78FB #FB8978 #A8FB78 #78EAFB
square
#CB78FB #FB8978 #A8FB78 #78EAFB
split-complementary
#CB78FB #EAFB78 #78FB89
monochromatic
#9C07F1 #B43DF9 #CB78FB #E2B3FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.62
#CB78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78FB
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78FB#FFFFFF#000000##000000
##CB78FB1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#709DF8
Tritanopia (blue-blind)
#C68EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb78fb;
/* rgb */ color: rgb(203, 120, 251);
/* oklch */ color: oklch(71.4% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#dda2fd',
    500: '#cb78fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb78fb;
$custom-light: #dda2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78fb",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 278.015,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71449,
    "c": 0.19769,
    "h": 311.6
  },
  "luminance": 0.33094
}

Semantic roles & 50–950 ramp

primary
#CB78FB
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CB78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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