#CE97FA#CE97FA

#CE97FA is a light, vivid violet. Relative luminance 0.422; OKLCH L 76.5% C 0.148 H 308.8°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#CE97FA
RGBrgb(206, 151, 250)
HSLhsl(273, 91%, 79%)
HSVhsv(273, 40%, 98%)
CMYKcmyk(17.6%, 39.6%, 0%, 2%)
CIE-LABlab(70.98, 38.62, -41.63)
CIE-LCHlch(70.98, 56.79, 312.85°)
OKLaboklab(76.54% 0.0928 -0.1154)
OKLCHoklch(76.54% 0.148 308.8)
XYZxyz(53.7723, 42.1578, 95.7285)
Luminance0.4216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97FA #C3FA97
analogous
#9C97FA #CE97FA #FA97F5
triadic
#CE97FA #FACE97 #97FACE
tetradic
#CE97FA #FA9C97 #C3FA97 #97F5FA
square
#CE97FA #FA9C97 #C3FA97 #97F5FA
split-complementary
#CE97FA #F5FA97 #97FA9C
monochromatic
#9722F4 #B25DF7 #CE97FA #EAD1FD #F1E2FE

Accessibility & contrast

On white

2.23
#CE97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#CE97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97FA
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97FA#FFFFFF#000000##000000
##CE97FA1.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ABFE
Deuteranopia (green-blind)
#8FAFF7
Tritanopia (blue-blind)
#C8A6BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ce97fa;
/* rgb */ color: rgb(206, 151, 250);
/* oklch */ color: oklch(76.5% 0.148 308.8);
Tailwind
colors: {
  custom: {
    50: '#deb6fc',
    500: '#ce97fa',
    950: '#000000',
  },
}
SCSS
$custom: #ce97fa;
$custom-light: #deb6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97fa",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 273.333,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76538,
    "c": 0.14809,
    "h": 308.8
  },
  "luminance": 0.42157
}

Semantic roles & 50–950 ramp

primary
#CE97FA
secondary
#E4F6D5
accent
#E60066
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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