#CE98FB#CE98FB

#CE98FB is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.8% C 0.148 H 308.4°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CE98FB
RGBrgb(206, 152, 251)
HSLhsl(273, 93%, 79%)
HSVhsv(273, 39%, 98%)
CMYKcmyk(17.9%, 39.4%, 0%, 1.6%)
CIE-LABlab(71.24, 38.30, -41.76)
CIE-LCHlch(71.24, 56.66, 312.52°)
OKLaboklab(76.75% 0.0916 -0.1158)
OKLCHoklch(76.75% 0.148 308.4)
XYZxyz(54.0911, 42.5439, 96.6103)
Luminance0.4254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98FB #C5FB98
analogous
#9D98FB #CE98FB #FB98F7
triadic
#CE98FB #FBCE98 #98FBCE
tetradic
#CE98FB #FB9D98 #C5FB98 #98F7FB
square
#CE98FB #FB9D98 #C5FB98 #98F7FB
split-complementary
#CE98FB #F7FB98 #98FB9D
monochromatic
#9622F6 #B25DF9 #CE98FB #EAD3FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.51
#CE98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98FB
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98FB#FFFFFF#000000##000000
##CE98FB1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#C8A7BE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ce98fb;
/* rgb */ color: rgb(206, 152, 251);
/* oklch */ color: oklch(76.8% 0.148 308.4);
Tailwind
colors: {
  custom: {
    50: '#deb7fd',
    500: '#ce98fb',
    950: '#000000',
  },
}
SCSS
$custom: #ce98fb;
$custom-light: #deb7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98fb",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 272.727,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76752,
    "c": 0.14764,
    "h": 308.4
  },
  "luminance": 0.42543
}

Semantic roles & 50–950 ramp

primary
#CE98FB
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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