#CE97EF#CE97EF

#CE97EF is a light, vivid violet. Relative luminance 0.415; OKLCH L 76.0% C 0.135 H 312.1°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#CE97EF
RGBrgb(206, 151, 239)
HSLhsl(278, 73%, 76%)
HSVhsv(278, 37%, 94%)
CMYKcmyk(13.8%, 36.8%, 0%, 6.3%)
CIE-LABlab(70.52, 36.28, -36.36)
CIE-LCHlch(70.52, 51.36, 314.94°)
OKLaboklab(76.04% 0.0906 -0.1002)
OKLCHoklch(76.04% 0.135 312.1)
XYZxyz(52.0975, 41.4879, 86.9081)
Luminance0.4149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97EF #B8EF97
analogous
#A297EF #CE97EF #EF97E4
triadic
#CE97EF #EFCE97 #97EFCE
tetradic
#CE97EF #EFA297 #B8EF97 #97E4EF
square
#CE97EF #EFA297 #B8EF97 #97E4EF
split-complementary
#CE97EF #E4EF97 #97EFA2
monochromatic
#9C2DDF #B562E7 #CE97EF #E7CCF7 #F3E4FB

Accessibility & contrast

On white

2.26
#CE97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#CE97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97EF
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97EF#FFFFFF#000000##000000
##CE97EF1.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF2
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#CBA3B8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce97ef;
/* rgb */ color: rgb(206, 151, 239);
/* oklch */ color: oklch(76.0% 0.135 312.1);
Tailwind
colors: {
  custom: {
    50: '#deb6f4',
    500: '#ce97ef',
    950: '#000000',
  },
}
SCSS
$custom: #ce97ef;
$custom-light: #deb6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97ef",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 277.5,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76036,
    "c": 0.1351,
    "h": 312.1
  },
  "luminance": 0.41487
}

Semantic roles & 50–950 ramp

primary
#CE97EF
secondary
#E2F3D8
accent
#D5105A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CE97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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