#C188EB#C188EB

#C188EB is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.0% C 0.150 H 309.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#C188EB
RGBrgb(193, 136, 235)
HSLhsl(275, 71%, 73%)
HSVhsv(275, 42%, 92%)
CMYKcmyk(17.9%, 42.1%, 0%, 7.8%)
CIE-LABlab(65.71, 39.78, -41.76)
CIE-LCHlch(65.71, 57.68, 313.61°)
OKLaboklab(72.05% 0.0959 -0.116)
OKLCHoklch(72.05% 0.15 309.6)
XYZxyz(45.7891, 34.9446, 82.9140)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C188EB #B2EB88
analogous
#8F88EB #C188EB #EB88E4
triadic
#C188EB #EBC188 #88EBC1
tetradic
#C188EB #EB8F88 #B2EB88 #88E4EB
square
#C188EB #EB8F88 #B2EB88 #88E4EB
split-complementary
#C188EB #E4EB88 #88EB8F
monochromatic
#8A24D5 #A654E2 #C188EB #DCBCF4 #F1E5FB

Accessibility & contrast

On white

2.63
#C188EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#C188EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C188EB
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C188EB#FFFFFF#000000##000000
##C188EB1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c188eb;
/* rgb */ color: rgb(193, 136, 235);
/* oklch */ color: oklch(72.0% 0.150 309.6);
Tailwind
colors: {
  custom: {
    50: '#d5acf2',
    500: '#c188eb',
    950: '#000000',
  },
}
SCSS
$custom: #c188eb;
$custom-light: #d5acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c188eb",
  "rgb": {
    "r": 193,
    "g": 136,
    "b": 235
  },
  "hsl": {
    "h": 274.545,
    "s": 71.223,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7205,
    "c": 0.15049,
    "h": 309.6
  },
  "luminance": 0.34944
}

Semantic roles & 50–950 ramp

primary
#C188EB
secondary
#E4F2D9
accent
#D31264
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C188EB

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

Preview Lab → · Contrast checker → · Palette generator →

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