#CE93FF#CE93FF

#CE93FF is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.1% C 0.161 H 308.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CE93FF
RGBrgb(206, 147, 255)
HSLhsl(273, 100%, 79%)
HSVhsv(273, 42%, 100%)
CMYKcmyk(19.2%, 42.4%, 0%, 0%)
CIE-LABlab(70.32, 41.87, -45.38)
CIE-LCHlch(70.32, 61.74, 312.69°)
OKLaboklab(76.12% 0.0993 -0.1262)
OKLCHoklch(76.12% 0.161 308.2)
XYZxyz(53.9339, 41.2099, 99.7014)
Luminance0.4121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE93FF #C4FF93
analogous
#9893FF #CE93FF #FF93FA
triadic
#CE93FF #FFCE93 #93FFCE
tetradic
#CE93FF #FF9893 #C4FF93 #93FAFF
square
#CE93FF #FF9893 #C4FF93 #93FAFF
split-complementary
#CE93FF #FAFF93 #93FF98
monochromatic
#9619FF #B256FF #CE93FF #EAD0FF #F1E0FF

Accessibility & contrast

On white

2.27
#CE93FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CE93FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE93FF
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE93FF#FFFFFF#000000##000000
##CE93FF1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA9FF
Deuteranopia (green-blind)
#89ADFC
Tritanopia (blue-blind)
#C7A4BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce93ff;
/* rgb */ color: rgb(206, 147, 255);
/* oklch */ color: oklch(76.1% 0.161 308.2);
Tailwind
colors: {
  custom: {
    50: '#dfb3ff',
    500: '#ce93ff',
    950: '#000000',
  },
}
SCSS
$custom: #ce93ff;
$custom-light: #dfb3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce93ff",
  "rgb": {
    "r": 206,
    "g": 147,
    "b": 255
  },
  "hsl": {
    "h": 272.778,
    "s": 100,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76116,
    "c": 0.16054,
    "h": 308.2
  },
  "luminance": 0.41209
}

Semantic roles & 50–950 ramp

primary
#CE93FF
secondary
#E4F7D4
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE93FF

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

Preview Lab → · Contrast checker → · Palette generator →

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