#C388EA#C388EA

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

Color values

HEX#C388EA
RGBrgb(195, 136, 234)
HSLhsl(276, 70%, 73%)
HSVhsv(276, 42%, 92%)
CMYKcmyk(16.7%, 41.9%, 0%, 8.2%)
CIE-LABlab(65.87, 40.14, -40.95)
CIE-LCHlch(65.87, 57.34, 314.43°)
OKLaboklab(72.2% 0.0981 -0.1136)
OKLCHoklch(72.2% 0.15 310.8)
XYZxyz(46.1585, 35.1517, 82.1793)
Luminance0.3515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C388EA #AFEA88
analogous
#9288EA #C388EA #EA88E0
triadic
#C388EA #EAC388 #88EAC3
tetradic
#C388EA #EA9288 #AFEA88 #88E0EA
square
#C388EA #EA9288 #AFEA88 #88E0EA
split-complementary
#C388EA #E0EA88 #88EA92
monochromatic
#8D25D2 #A954E1 #C388EA #DDBCF3 #F2E5FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C388EA#FFFFFF#000000##000000
##C388EA1.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)
#749DEE
Deuteranopia (green-blind)
#82A1E7
Tritanopia (blue-blind)
#BF97AE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c388ea;
/* rgb */ color: rgb(195, 136, 234);
/* oklch */ color: oklch(72.2% 0.150 310.8);
Tailwind
colors: {
  custom: {
    50: '#d7acf1',
    500: '#c388ea',
    950: '#000000',
  },
}
SCSS
$custom: #c388ea;
$custom-light: #d7acf1;
$custom-dark: #000000;
JSON
{
  "hex": "#c388ea",
  "rgb": {
    "r": 195,
    "g": 136,
    "b": 234
  },
  "hsl": {
    "h": 276.122,
    "s": 70,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72204,
    "c": 0.15005,
    "h": 310.8
  },
  "luminance": 0.35151
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C388EA

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

Preview Lab → · Contrast checker → · Palette generator →

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