#C388FC#C388FC

#C388FC is a light, vivid violet. Relative luminance 0.362; OKLCH L 73.1% C 0.171 H 306.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#C388FC
RGBrgb(195, 136, 252)
HSLhsl(271, 95%, 76%)
HSVhsv(271, 46%, 99%)
CMYKcmyk(22.6%, 46%, 0%, 1.2%)
CIE-LABlab(66.70, 44.11, -49.52)
CIE-LCHlch(66.70, 66.31, 311.69°)
OKLaboklab(73.1% 0.1008 -0.1384)
OKLCHoklch(73.1% 0.171 306.1)
XYZxyz(48.8769, 36.2391, 96.4965)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C388FC #C1FC88
analogous
#8988FC #C388FC #FC88FB
triadic
#C388FC #FCC388 #88FCC3
tetradic
#C388FC #FC8988 #C1FC88 #88FBFC
square
#C388FC #FC8988 #C1FC88 #88FBFC
split-complementary
#C388FC #FBFC88 #88FC89
monochromatic
#8711F9 #A54CFA #C388FC #E1C4FE #F0E1FE

Accessibility & contrast

On white

2.55
#C388FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#C388FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C388FC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C388FC#FFFFFF#000000##000000
##C388FC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FF
Deuteranopia (green-blind)
#79A3F9
Tritanopia (blue-blind)
#BA9BB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c388fc;
/* rgb */ color: rgb(195, 136, 252);
/* oklch */ color: oklch(73.1% 0.171 306.1);
Tailwind
colors: {
  custom: {
    50: '#d7acfe',
    500: '#c388fc',
    950: '#000000',
  },
}
SCSS
$custom: #c388fc;
$custom-light: #d7acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c388fc",
  "rgb": {
    "r": 195,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 270.517,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73103,
    "c": 0.17123,
    "h": 306.1
  },
  "luminance": 0.36239
}

Semantic roles & 50–950 ramp

primary
#C388FC
secondary
#E5F6D5
accent
#E60071
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #C388FC

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

Preview Lab → · Contrast checker → · Palette generator →

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