#CE9AFA#CE9AFA

#CE9AFA is a light, vivid violet. Relative luminance 0.431; OKLCH L 77.0% C 0.143 H 308.3°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CE9AFA
RGBrgb(206, 154, 250)
HSLhsl(273, 91%, 79%)
HSVhsv(273, 38%, 98%)
CMYKcmyk(17.6%, 38.4%, 0%, 2%)
CIE-LABlab(71.65, 36.99, -40.59)
CIE-LCHlch(71.65, 54.92, 312.35°)
OKLaboklab(77.04% 0.0886 -0.1124)
OKLCHoklch(77.04% 0.143 308.3)
XYZxyz(54.2613, 43.1357, 95.8914)
Luminance0.4314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE9AFA #C6FA9A
analogous
#9E9AFA #CE9AFA #FA9AF6
triadic
#CE9AFA #FACE9A #9AFACE
tetradic
#CE9AFA #FA9E9A #C6FA9A #9AF6FA
square
#CE9AFA #FA9E9A #C6FA9A #9AF6FA
split-complementary
#CE9AFA #F6FA9A #9AFA9E
monochromatic
#9525F4 #B260F7 #CE9AFA #EAD4FD #F1E2FE

Accessibility & contrast

On white

2.18
#CE9AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CE9AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE9AFA
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE9AFA#FFFFFF#000000##000000
##CE9AFA1.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#92B0F7
Tritanopia (blue-blind)
#C8A8BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ce9afa;
/* rgb */ color: rgb(206, 154, 250);
/* oklch */ color: oklch(77.0% 0.143 308.3);
Tailwind
colors: {
  custom: {
    50: '#deb8fc',
    500: '#ce9afa',
    950: '#000000',
  },
}
SCSS
$custom: #ce9afa;
$custom-light: #deb8fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce9afa",
  "rgb": {
    "r": 206,
    "g": 154,
    "b": 250
  },
  "hsl": {
    "h": 272.5,
    "s": 90.566,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77042,
    "c": 0.14314,
    "h": 308.3
  },
  "luminance": 0.43135
}

Semantic roles & 50–950 ramp

primary
#CE9AFA
secondary
#E4F6D5
accent
#E60069
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE9AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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