#C388EB#C388EB

#C388EB is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.3% C 0.151 H 310.5°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#C388EB
RGBrgb(195, 136, 235)
HSLhsl(276, 71%, 73%)
HSVhsv(276, 42%, 92%)
CMYKcmyk(17%, 42.1%, 0%, 7.8%)
CIE-LABlab(65.91, 40.36, -41.43)
CIE-LCHlch(65.91, 57.83, 314.25°)
OKLaboklab(72.25% 0.0982 -0.1149)
OKLCHoklch(72.25% 0.151 310.5)
XYZxyz(46.3025, 35.2093, 82.9380)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C388EB #B0EB88
analogous
#9288EB #C388EB #EB88E1
triadic
#C388EB #EBC388 #88EBC3
tetradic
#C388EB #EB9288 #B0EB88 #88E1EB
square
#C388EB #EB9288 #B0EB88 #88E1EB
split-complementary
#C388EB #E1EB88 #88EB92
monochromatic
#8D24D5 #A954E2 #C388EB #DDBCF4 #F2E5FB

Accessibility & contrast

On white

2.61
#C388EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#C388EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C388EB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C388EB#FFFFFF#000000##000000
##C388EB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c388eb;
/* rgb */ color: rgb(195, 136, 235);
/* oklch */ color: oklch(72.3% 0.151 310.5);
Tailwind
colors: {
  custom: {
    50: '#d7acf2',
    500: '#c388eb',
    950: '#000000',
  },
}
SCSS
$custom: #c388eb;
$custom-light: #d7acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c388eb",
  "rgb": {
    "r": 195,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 275.758,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72252,
    "c": 0.15121,
    "h": 310.5
  },
  "luminance": 0.35209
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C388EB

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

Preview Lab → · Contrast checker → · Palette generator →

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