#C288EB#C288EB

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

Color values

HEX#C288EB
RGBrgb(194, 136, 235)
HSLhsl(275, 71%, 73%)
HSVhsv(275, 42%, 92%)
CMYKcmyk(17.4%, 42.1%, 0%, 7.8%)
CIE-LABlab(65.81, 40.07, -41.60)
CIE-LCHlch(65.81, 57.76, 313.93°)
OKLaboklab(72.15% 0.0971 -0.1155)
OKLCHoklch(72.15% 0.151 310.1)
XYZxyz(46.0450, 35.0765, 82.9259)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C288EB #B1EB88
analogous
#9188EB #C288EB #EB88E2
triadic
#C288EB #EBC288 #88EBC2
tetradic
#C288EB #EB9188 #B1EB88 #88E2EB
square
#C288EB #EB9188 #B1EB88 #88E2EB
split-complementary
#C288EB #E2EB88 #88EB91
monochromatic
#8C24D5 #A754E2 #C288EB #DDBCF4 #F2E5FB

Accessibility & contrast

On white

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

On black

8.02
#C288EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C288EB
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C288EB#FFFFFF#000000##000000
##C288EB1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#81A1E8
Tritanopia (blue-blind)
#BD97AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c288eb;
/* rgb */ color: rgb(194, 136, 235);
/* oklch */ color: oklch(72.2% 0.151 310.1);
Tailwind
colors: {
  custom: {
    50: '#d6acf2',
    500: '#c288eb',
    950: '#000000',
  },
}
SCSS
$custom: #c288eb;
$custom-light: #d6acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c288eb",
  "rgb": {
    "r": 194,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 275.152,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72151,
    "c": 0.15084,
    "h": 310.1
  },
  "luminance": 0.35076
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C288EB

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

Preview Lab → · Contrast checker → · Palette generator →

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