#CE95F8#CE95F8

#CE95F8 is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.1% C 0.149 H 309.7°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CE95F8
RGBrgb(206, 149, 248)
HSLhsl(275, 88%, 78%)
HSVhsv(275, 40%, 97%)
CMYKcmyk(16.9%, 39.9%, 0%, 2.7%)
CIE-LABlab(70.45, 39.27, -41.37)
CIE-LCHlch(70.45, 57.04, 313.51°)
OKLaboklab(76.11% 0.0952 -0.1146)
OKLCHoklch(76.11% 0.149 309.7)
XYZxyz(53.1412, 41.3947, 93.9792)
Luminance0.4139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE95F8 #BFF895
analogous
#9C95F8 #CE95F8 #F895F1
triadic
#CE95F8 #F8CE95 #95F8CE
tetradic
#CE95F8 #F89C95 #BFF895 #95F1F8
square
#CE95F8 #F89C95 #BFF895 #95F1F8
split-complementary
#CE95F8 #F1F895 #95F89C
monochromatic
#9922F0 #B35CF4 #CE95F8 #E9CEFC #F2E2FD

Accessibility & contrast

On white

2.26
#CE95F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CE95F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE95F8
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE95F8#FFFFFF#000000##000000
##CE95F81.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81AAFC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#C9A4BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #ce95f8;
/* rgb */ color: rgb(206, 149, 248);
/* oklch */ color: oklch(76.1% 0.149 309.7);
Tailwind
colors: {
  custom: {
    50: '#deb5fb',
    500: '#ce95f8',
    950: '#000000',
  },
}
SCSS
$custom: #ce95f8;
$custom-light: #deb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#ce95f8",
  "rgb": {
    "r": 206,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 274.545,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76112,
    "c": 0.14902,
    "h": 309.7
  },
  "luminance": 0.41394
}

Semantic roles & 50–950 ramp

primary
#CE95F8
secondary
#E3F5D6
accent
#E40162
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CE95F8

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

Preview Lab → · Contrast checker → · Palette generator →

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