#C288EC#C288EC

#C288EC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.2% C 0.152 H 309.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#C288EC
RGBrgb(194, 136, 236)
HSLhsl(275, 72%, 73%)
HSVhsv(275, 42%, 93%)
CMYKcmyk(17.8%, 42.4%, 0%, 7.5%)
CIE-LABlab(65.85, 40.29, -42.08)
CIE-LCHlch(65.85, 58.25, 313.76°)
OKLaboklab(72.2% 0.0972 -0.1168)
OKLCHoklch(72.2% 0.152 309.8)
XYZxyz(46.1898, 35.1344, 83.6890)
Luminance0.3513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C288EC #B2EC88
analogous
#9088EC #C288EC #EC88E4
triadic
#C288EC #ECC288 #88ECC2
tetradic
#C288EC #EC9088 #B2EC88 #88E4EC
square
#C288EC #EC9088 #B2EC88 #88E4EC
split-complementary
#C288EC #E4EC88 #88EC90
monochromatic
#8B22D7 #A753E4 #C288EC #DDBDF4 #F1E5FB

Accessibility & contrast

On white

2.62
#C288EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#C288EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C288EC
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C288EC#FFFFFF#000000##000000
##C288EC1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729DF0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#BD97AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c288ec;
/* rgb */ color: rgb(194, 136, 236);
/* oklch */ color: oklch(72.2% 0.152 309.8);
Tailwind
colors: {
  custom: {
    50: '#d6acf2',
    500: '#c288ec',
    950: '#000000',
  },
}
SCSS
$custom: #c288ec;
$custom-light: #d6acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c288ec",
  "rgb": {
    "r": 194,
    "g": 136,
    "b": 236
  },
  "hsl": {
    "h": 274.8,
    "s": 72.464,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72199,
    "c": 0.15202,
    "h": 309.8
  },
  "luminance": 0.35134
}

Semantic roles & 50–950 ramp

primary
#C288EC
secondary
#E3F2D9
accent
#D51163
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C288EC

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

Preview Lab → · Contrast checker → · Palette generator →

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