#CE97F2#CE97F2

#CE97F2 is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.2% C 0.139 H 311.1°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#CE97F2
RGBrgb(206, 151, 242)
HSLhsl(276, 78%, 77%)
HSVhsv(276, 38%, 95%)
CMYKcmyk(14.9%, 37.6%, 0%, 5.1%)
CIE-LABlab(70.64, 36.91, -37.80)
CIE-LCHlch(70.64, 52.83, 314.32°)
OKLaboklab(76.17% 0.0912 -0.1044)
OKLCHoklch(76.17% 0.139 311.1)
XYZxyz(52.5444, 41.6666, 89.2616)
Luminance0.4167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE97F2 #BBF297
analogous
#A197F2 #CE97F2 #F297E8
triadic
#CE97F2 #F2CE97 #97F2CE
tetradic
#CE97F2 #F2A197 #BBF297 #97E8F2
square
#CE97F2 #F2A197 #BBF297 #97E8F2
split-complementary
#CE97F2 #E8F297 #97F2A1
monochromatic
#9B2AE4 #B461EB #CE97F2 #E8CDF9 #F2E4FC

Accessibility & contrast

On white

2.25
#CE97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#CE97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE97F2
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE97F2#FFFFFF#000000##000000
##CE97F21.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#93AEEF
Tritanopia (blue-blind)
#CAA4B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #ce97f2;
/* rgb */ color: rgb(206, 151, 242);
/* oklch */ color: oklch(76.2% 0.139 311.1);
Tailwind
colors: {
  custom: {
    50: '#deb6f6',
    500: '#ce97f2',
    950: '#000000',
  },
}
SCSS
$custom: #ce97f2;
$custom-light: #deb6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce97f2",
  "rgb": {
    "r": 206,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 276.264,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76171,
    "c": 0.13862,
    "h": 311.1
  },
  "luminance": 0.41666
}

Semantic roles & 50–950 ramp

primary
#CE97F2
secondary
#E3F3D8
accent
#DA0B5D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CE97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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