#CE98FD#CE98FD

#CE98FD is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.8% C 0.150 H 307.8°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CE98FD
RGBrgb(206, 152, 253)
HSLhsl(272, 96%, 79%)
HSVhsv(272, 40%, 99%)
CMYKcmyk(18.6%, 39.9%, 0%, 0.8%)
CIE-LABlab(71.33, 38.73, -42.71)
CIE-LCHlch(71.33, 57.66, 312.20°)
OKLaboklab(76.85% 0.092 -0.1185)
OKLCHoklch(76.85% 0.15 307.8)
XYZxyz(54.4080, 42.6707, 98.2795)
Luminance0.4267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98FD #C7FD98
analogous
#9C98FD #CE98FD #FD98FA
triadic
#CE98FD #FDCE98 #98FDCE
tetradic
#CE98FD #FD9C98 #C7FD98 #98FAFD
square
#CE98FD #FD9C98 #C7FD98 #98FAFD
split-complementary
#CE98FD #FAFD98 #98FD9C
monochromatic
#9520FB #B15CFC #CE98FD #EBD4FE #F1E1FE

Accessibility & contrast

On white

2.20
#CE98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#CE98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98FD
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98FD#FFFFFF#000000##000000
##CE98FD1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce98fd;
/* rgb */ color: rgb(206, 152, 253);
/* oklch */ color: oklch(76.8% 0.150 307.8);
Tailwind
colors: {
  custom: {
    50: '#deb7fe',
    500: '#ce98fd',
    950: '#000000',
  },
}
SCSS
$custom: #ce98fd;
$custom-light: #deb7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98fd",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 272.079,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.76846,
    "c": 0.15003,
    "h": 307.8
  },
  "luminance": 0.4267
}

Semantic roles & 50–950 ramp

primary
#CE98FD
secondary
#E4F7D4
accent
#E6006B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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