#C388DF#C388DF

#C388DF is a light, vivid purple. Relative luminance 0.345; OKLCH L 71.7% C 0.137 H 314.3°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#C388DF
RGBrgb(195, 136, 223)
HSLhsl(281, 58%, 70%)
HSVhsv(281, 39%, 87%)
CMYKcmyk(12.6%, 39%, 0%, 12.5%)
CIE-LABlab(65.39, 37.81, -35.61)
CIE-LCHlch(65.39, 51.93, 316.72°)
OKLaboklab(71.69% 0.0959 -0.0982)
OKLCHoklch(71.69% 0.137 314.3)
XYZxyz(44.6270, 34.5391, 74.1135)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C388DF #A4DF88
analogous
#9788DF #C388DF #DF88CF
triadic
#C388DF #DFC388 #88DFC3
tetradic
#C388DF #DF9788 #A4DF88 #88CFDF
square
#C388DF #DF9788 #A4DF88 #88CFDF
split-complementary
#C388DF #CFDF88 #88DF97
monochromatic
#8F32BA #AB58D2 #C388DF #DBB8EC #F3E7F9

Accessibility & contrast

On white

2.66
#C388DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#C388DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C388DF
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C388DF#FFFFFF#000000##000000
##C388DF1.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#799BE2
Deuteranopia (green-blind)
#87A0DC
Tritanopia (blue-blind)
#C194A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c388df;
/* rgb */ color: rgb(195, 136, 223);
/* oklch */ color: oklch(71.7% 0.137 314.3);
Tailwind
colors: {
  custom: {
    50: '#d6abe9',
    500: '#c388df',
    950: '#000000',
  },
}
SCSS
$custom: #c388df;
$custom-light: #d6abe9;
$custom-dark: #000000;
JSON
{
  "hex": "#c388df",
  "rgb": {
    "r": 195,
    "g": 136,
    "b": 223
  },
  "hsl": {
    "h": 280.69,
    "s": 57.616,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71687,
    "c": 0.1373,
    "h": 314.3
  },
  "luminance": 0.34538
}

Semantic roles & 50–950 ramp

primary
#C388DF
secondary
#DDEDD5
accent
#C52055
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C388DF

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

Preview Lab → · Contrast checker → · Palette generator →

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