#CE91F2#CE91F2

#CE91F2 is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.2% C 0.149 H 312.1°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CE91F2
RGBrgb(206, 145, 242)
HSLhsl(278, 79%, 76%)
HSVhsv(278, 40%, 95%)
CMYKcmyk(14.9%, 40.1%, 0%, 5.1%)
CIE-LABlab(69.32, 40.16, -39.87)
CIE-LCHlch(69.32, 56.59, 315.21°)
OKLaboklab(75.17% 0.0997 -0.1103)
OKLCHoklch(75.17% 0.149 312.1)
XYZxyz(51.6033, 39.7843, 88.9479)
Luminance0.3978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE91F2 #B5F291
analogous
#9D91F2 #CE91F2 #F291E5
triadic
#CE91F2 #F2CE91 #91F2CE
tetradic
#CE91F2 #F29D91 #B5F291 #91E5F2
square
#CE91F2 #F29D91 #B5F291 #91E5F2
split-complementary
#CE91F2 #E5F291 #91F29D
monochromatic
#9D24E5 #B65AEC #CE91F2 #E6C8F8 #F3E4FC

Accessibility & contrast

On white

2.34
#CE91F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CE91F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE91F2
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE91F2#FFFFFF#000000##000000
##CE91F21.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA6F6
Deuteranopia (green-blind)
#8DABEF
Tritanopia (blue-blind)
#CB9FB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #ce91f2;
/* rgb */ color: rgb(206, 145, 242);
/* oklch */ color: oklch(75.2% 0.149 312.1);
Tailwind
colors: {
  custom: {
    50: '#deb2f6',
    500: '#ce91f2',
    950: '#000000',
  },
}
SCSS
$custom: #ce91f2;
$custom-light: #deb2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#ce91f2",
  "rgb": {
    "r": 206,
    "g": 145,
    "b": 242
  },
  "hsl": {
    "h": 277.732,
    "s": 78.862,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.14867,
    "h": 312.1
  },
  "luminance": 0.39783
}

Semantic roles & 50–950 ramp

primary
#CE91F2
secondary
#E2F4D7
accent
#DB0A58
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CE91F2

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

Preview Lab → · Contrast checker → · Palette generator →

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