#CE78FB#CE78FB

#CE78FB is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.8% C 0.199 H 312.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CE78FB
RGBrgb(206, 120, 251)
HSLhsl(279, 94%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(17.9%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.58, 55.16, -52.25)
CIE-LCHlch(64.58, 75.98, 316.55°)
OKLaboklab(71.78% 0.1349 -0.146)
OKLCHoklch(71.78% 0.199 312.7)
XYZxyz(49.5797, 33.5210, 95.1065)
Luminance0.3352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE78FB #A5FB78
analogous
#8C78FB #CE78FB #FB78E7
triadic
#CE78FB #FBCE78 #78FBCE
tetradic
#CE78FB #FB8C78 #A5FB78 #78E7FB
square
#CE78FB #FB8C78 #A5FB78 #78E7FB
split-complementary
#CE78FB #E7FB78 #78FB8C
monochromatic
#A107F1 #B83DF9 #CE78FB #E4B3FD #F4E1FE

Accessibility & contrast

On white

2.73
#CE78FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CE78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE78FB
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE78FB#FFFFFF#000000##000000
##CE78FB1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#CA8EAE
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #ce78fb;
/* rgb */ color: rgb(206, 120, 251);
/* oklch */ color: oklch(71.8% 0.199 312.7);
Tailwind
colors: {
  custom: {
    50: '#e0a2fd',
    500: '#ce78fb',
    950: '#000000',
  },
}
SCSS
$custom: #ce78fb;
$custom-light: #e0a2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce78fb",
  "rgb": {
    "r": 206,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 279.389,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.1988,
    "h": 312.7
  },
  "luminance": 0.3352
}

Semantic roles & 50–950 ramp

primary
#CE78FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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