#CE98FA#CE98FA

#CE98FA is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.7% C 0.146 H 308.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CE98FA
RGBrgb(206, 152, 250)
HSLhsl(273, 91%, 79%)
HSVhsv(273, 39%, 98%)
CMYKcmyk(17.6%, 39.2%, 0%, 2%)
CIE-LABlab(71.20, 38.08, -41.29)
CIE-LCHlch(71.20, 56.17, 312.69°)
OKLaboklab(76.71% 0.0914 -0.1144)
OKLCHoklch(76.71% 0.146 308.6)
XYZxyz(53.9339, 42.4810, 95.7823)
Luminance0.4248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE98FA #C4FA98
analogous
#9D98FA #CE98FA #FA98F5
triadic
#CE98FA #FACE98 #98FACE
tetradic
#CE98FA #FA9D98 #C4FA98 #98F5FA
square
#CE98FA #FA9D98 #C4FA98 #98F5FA
split-complementary
#CE98FA #F5FA98 #98FA9D
monochromatic
#9623F4 #B25EF7 #CE98FA #EAD2FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.50
#CE98FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE98FA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE98FA#FFFFFF#000000##000000
##CE98FA1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#C8A7BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ce98fa;
/* rgb */ color: rgb(206, 152, 250);
/* oklch */ color: oklch(76.7% 0.146 308.6);
Tailwind
colors: {
  custom: {
    50: '#deb7fc',
    500: '#ce98fa',
    950: '#000000',
  },
}
SCSS
$custom: #ce98fa;
$custom-light: #deb7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ce98fa",
  "rgb": {
    "r": 206,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 273.061,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76706,
    "c": 0.14644,
    "h": 308.6
  },
  "luminance": 0.4248
}

Semantic roles & 50–950 ramp

primary
#CE98FA
secondary
#E4F6D5
accent
#E60067
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE98FA

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

Preview Lab → · Contrast checker → · Palette generator →

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