#CE93FE#CE93FE

#CE93FE is a light, vivid violet. Relative luminance 0.411; OKLCH L 76.1% C 0.159 H 308.4°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CE93FE
RGBrgb(206, 147, 254)
HSLhsl(273, 98%, 79%)
HSVhsv(273, 42%, 100%)
CMYKcmyk(18.9%, 42.1%, 0%, 0.4%)
CIE-LABlab(70.28, 41.65, -44.91)
CIE-LCHlch(70.28, 61.25, 312.84°)
OKLaboklab(76.07% 0.0991 -0.1248)
OKLCHoklch(76.07% 0.159 308.4)
XYZxyz(53.7733, 41.1456, 98.8558)
Luminance0.4114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE93FE #C3FE93
analogous
#9893FE #CE93FE #FE93F8
triadic
#CE93FE #FECE93 #93FECE
tetradic
#CE93FE #FE9893 #C3FE93 #93F8FE
square
#CE93FE #FE9893 #C3FE93 #93F8FE
split-complementary
#CE93FE #F8FE93 #93FE98
monochromatic
#971AFD #B256FD #CE93FE #EAD0FF #F1E1FF

Accessibility & contrast

On white

2.28
#CE93FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CE93FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE93FE
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE93FE#FFFFFF#000000##000000
##CE93FE1.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA9FF
Deuteranopia (green-blind)
#89ADFB
Tritanopia (blue-blind)
#C8A4BC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce93fe;
/* rgb */ color: rgb(206, 147, 254);
/* oklch */ color: oklch(76.1% 0.159 308.4);
Tailwind
colors: {
  custom: {
    50: '#dfb3ff',
    500: '#ce93fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce93fe;
$custom-light: #dfb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce93fe",
  "rgb": {
    "r": 206,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 273.084,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76067,
    "c": 0.15936,
    "h": 308.4
  },
  "luminance": 0.41145
}

Semantic roles & 50–950 ramp

primary
#CE93FE
secondary
#E4F7D4
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE93FE

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

Preview Lab → · Contrast checker → · Palette generator →

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