#CB78F7#CB78F7

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

Color values

HEX#CB78F7
RGBrgb(203, 120, 247)
HSLhsl(279, 89%, 72%)
HSVhsv(279, 51%, 97%)
CMYKcmyk(17.8%, 51.4%, 0%, 3.1%)
CIE-LABlab(64.04, 53.55, -50.93)
CIE-LCHlch(64.04, 73.91, 316.43°)
OKLaboklab(71.24% 0.131 -0.1422)
OKLCHoklch(71.24% 0.193 312.6)
XYZxyz(48.1307, 32.8460, 91.7821)
Luminance0.3285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB78F7 #A4F778
analogous
#8C78F7 #CB78F7 #F778E3
triadic
#CB78F7 #F7CB78 #78F7CB
tetradic
#CB78F7 #F78C78 #A4F778 #78E3F7
square
#CB78F7 #F78C78 #A4F778 #78E3F7
split-complementary
#CB78F7 #E3F778 #78F78C
monochromatic
#9C0EE7 #B53EF4 #CB78F7 #E1B2FA #F4E2FD

Accessibility & contrast

On white

2.77
#CB78F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CB78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB78F7
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB78F7#FFFFFF#000000##000000
##CB78F71.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#C78DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cb78f7;
/* rgb */ color: rgb(203, 120, 247);
/* oklch */ color: oklch(71.2% 0.193 312.6);
Tailwind
colors: {
  custom: {
    50: '#dda2fa',
    500: '#cb78f7',
    950: '#000000',
  },
}
SCSS
$custom: #cb78f7;
$custom-light: #dda2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb78f7",
  "rgb": {
    "r": 203,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 279.213,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71235,
    "c": 0.1934,
    "h": 312.6
  },
  "luminance": 0.32845
}

Semantic roles & 50–950 ramp

primary
#CB78F7
secondary
#E1F5D5
accent
#E50050
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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