#C188EF#C188EF

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

Color values

HEX#C188EF
RGBrgb(193, 136, 239)
HSLhsl(273, 76%, 74%)
HSVhsv(273, 43%, 94%)
CMYKcmyk(19.2%, 43.1%, 0%, 6.3%)
CIE-LABlab(65.89, 40.66, -43.68)
CIE-LCHlch(65.89, 59.68, 312.95°)
OKLaboklab(72.25% 0.0966 -0.1215)
OKLCHoklch(72.25% 0.155 308.5)
XYZxyz(46.3735, 35.1783, 85.9917)
Luminance0.3518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C188EF #B6EF88
analogous
#8D88EF #C188EF #EF88E9
triadic
#C188EF #EFC188 #88EFC1
tetradic
#C188EF #EF8D88 #B6EF88 #88E9EF
square
#C188EF #EF8D88 #B6EF88 #88E9EF
split-complementary
#C188EF #E9EF88 #88EF8D
monochromatic
#891EDF #A552E8 #C188EF #DDBEF6 #F1E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C188EF#FFFFFF#000000##000000
##C188EF1.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)
#709EF3
Deuteranopia (green-blind)
#7FA1EC
Tritanopia (blue-blind)
#BB98B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c188ef;
/* rgb */ color: rgb(193, 136, 239);
/* oklch */ color: oklch(72.2% 0.155 308.5);
Tailwind
colors: {
  custom: {
    50: '#d5acf4',
    500: '#c188ef',
    950: '#000000',
  },
}
SCSS
$custom: #c188ef;
$custom-light: #d5acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#c188ef",
  "rgb": {
    "r": 193,
    "g": 136,
    "b": 239
  },
  "hsl": {
    "h": 273.204,
    "s": 76.296,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72246,
    "c": 0.15521,
    "h": 308.5
  },
  "luminance": 0.35178
}

Semantic roles & 50–950 ramp

primary
#C188EF
secondary
#E4F3D8
accent
#D80D68
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C188EF

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

Preview Lab → · Contrast checker → · Palette generator →

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