#CE98FC#CE98FC

#CE98FC is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.8% C 0.149 H 308.1°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#CE98FC
RGBrgb(206, 152, 252)
HSLhsl(272, 94%, 79%)
HSVhsv(272, 40%, 99%)
CMYKcmyk(18.3%, 39.7%, 0%, 1.2%)
CIE-LABlab(71.29, 38.51, -42.24)
CIE-LCHlch(71.29, 57.16, 312.36°)
OKLaboklab(76.8% 0.0918 -0.1171)
OKLCHoklch(76.8% 0.149 308.1)
XYZxyz(54.2492, 42.6071, 97.4427)
Luminance0.4261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98FC #C6FC98
analogous
#9C98FC #CE98FC #FC98F8
triadic
#CE98FC #FCCE98 #98FCCE
tetradic
#CE98FC #FC9C98 #C6FC98 #98F8FC
square
#CE98FC #FC9C98 #C6FC98 #98F8FC
split-complementary
#CE98FC #F8FC98 #98FC9C
monochromatic
#9521F9 #B25DFA #CE98FC #EAD3FE #F1E1FE

Accessibility & contrast

On white

2.21
#CE98FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#CE98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98FC
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98FC#FFFFFF#000000##000000
##CE98FC1.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#8FAFF9
Tritanopia (blue-blind)
#C8A7BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ce98fc;
/* rgb */ color: rgb(206, 152, 252);
/* oklch */ color: oklch(76.8% 0.149 308.1);
Tailwind
colors: {
  custom: {
    50: '#deb7fd',
    500: '#ce98fc',
    950: '#000000',
  },
}
SCSS
$custom: #ce98fc;
$custom-light: #deb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98fc",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 272.4,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76799,
    "c": 0.14883,
    "h": 308.1
  },
  "luminance": 0.42607
}

Semantic roles & 50–950 ramp

primary
#CE98FC
secondary
#E4F6D5
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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