#CE98FF#CE98FF

#CE98FF is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.9% C 0.152 H 307.3°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#CE98FF
RGBrgb(206, 152, 255)
HSLhsl(271, 100%, 80%)
HSVhsv(271, 40%, 100%)
CMYKcmyk(19.2%, 40.4%, 0%, 0%)
CIE-LABlab(71.42, 39.17, -43.66)
CIE-LCHlch(71.42, 58.66, 311.89°)
OKLaboklab(76.94% 0.0924 -0.1212)
OKLCHoklch(76.94% 0.152 307.3)
XYZxyz(54.7283, 42.7988, 99.9662)
Luminance0.4280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98FF #C9FF98
analogous
#9A98FF #CE98FF #FF98FD
triadic
#CE98FF #FFCE98 #98FFCE
tetradic
#CE98FF #FF9A98 #C9FF98 #98FDFF
square
#CE98FF #FF9A98 #C9FF98 #98FDFF
split-complementary
#CE98FF #FDFF98 #98FF9A
monochromatic
#941EFF #B15BFF #CE98FF #EBD5FF #F0E0FF

Accessibility & contrast

On white

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

On black

9.56
#CE98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98FF
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98FF#FFFFFF#000000##000000
##CE98FF1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ce98ff;
/* rgb */ color: rgb(206, 152, 255);
/* oklch */ color: oklch(76.9% 0.152 307.3);
Tailwind
colors: {
  custom: {
    50: '#deb7ff',
    500: '#ce98ff',
    950: '#000000',
  },
}
SCSS
$custom: #ce98ff;
$custom-light: #deb7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98ff",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 271.456,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.7694,
    "c": 0.15243,
    "h": 307.3
  },
  "luminance": 0.42798
}

Semantic roles & 50–950 ramp

primary
#CE98FF
secondary
#E5F7D4
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CE98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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