#CE98FE#CE98FE

#CE98FE is a light, vivid violet. Relative luminance 0.427; OKLCH L 76.9% C 0.151 H 307.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CE98FE
RGBrgb(206, 152, 254)
HSLhsl(272, 98%, 80%)
HSVhsv(272, 40%, 100%)
CMYKcmyk(18.9%, 40.2%, 0%, 0.4%)
CIE-LABlab(71.37, 38.95, -43.19)
CIE-LCHlch(71.37, 58.16, 312.04°)
OKLaboklab(76.89% 0.0922 -0.1199)
OKLCHoklch(76.89% 0.151 307.6)
XYZxyz(54.5678, 42.7346, 99.1206)
Luminance0.4273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98FE #C8FE98
analogous
#9B98FE #CE98FE #FE98FB
triadic
#CE98FE #FECE98 #98FECE
tetradic
#CE98FE #FE9B98 #C8FE98 #98FBFE
square
#CE98FE #FE9B98 #C8FE98 #98FBFE
split-complementary
#CE98FE #FBFE98 #98FE9B
monochromatic
#941FFD #B15BFD #CE98FE #EBD5FF #F1E1FF

Accessibility & contrast

On white

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

On black

9.55
#CE98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98FE
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98FE#FFFFFF#000000##000000
##CE98FE1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8EAFFB
Tritanopia (blue-blind)
#C7A8BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #ce98fe;
/* rgb */ color: rgb(206, 152, 254);
/* oklch */ color: oklch(76.9% 0.151 307.6);
Tailwind
colors: {
  custom: {
    50: '#deb7ff',
    500: '#ce98fe',
    950: '#000000',
  },
}
SCSS
$custom: #ce98fe;
$custom-light: #deb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98fe",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 271.765,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.76893,
    "c": 0.15122,
    "h": 307.6
  },
  "luminance": 0.42734
}

Semantic roles & 50–950 ramp

primary
#CE98FE
secondary
#E4F7D4
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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