#C189EC#C189EC

#C189EC is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.3% C 0.150 H 309.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#C189EC
RGBrgb(193, 137, 236)
HSLhsl(274, 72%, 73%)
HSVhsv(274, 42%, 93%)
CMYKcmyk(18.2%, 41.9%, 0%, 7.5%)
CIE-LABlab(65.97, 39.46, -41.90)
CIE-LCHlch(65.97, 57.55, 313.28°)
OKLaboklab(72.26% 0.0947 -0.1164)
OKLCHoklch(72.26% 0.15 309.1)
XYZxyz(46.0755, 35.2855, 83.7241)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C189EC #B4EC89
analogous
#8F89EC #C189EC #EC89E6
triadic
#C189EC #ECC189 #89ECC1
tetradic
#C189EC #EC8F89 #B4EC89 #89E6EC
square
#C189EC #EC8F89 #B4EC89 #89E6EC
split-complementary
#C189EC #E6EC89 #89EC8F
monochromatic
#8923D8 #A554E4 #C189EC #DDBEF4 #F1E5FB

Accessibility & contrast

On white

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

On black

8.06
#C189EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C189EC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C189EC#FFFFFF#000000##000000
##C189EC1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#BC98AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #c189ec;
/* rgb */ color: rgb(193, 137, 236);
/* oklch */ color: oklch(72.3% 0.150 309.1);
Tailwind
colors: {
  custom: {
    50: '#d5acf2',
    500: '#c189ec',
    950: '#000000',
  },
}
SCSS
$custom: #c189ec;
$custom-light: #d5acf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c189ec",
  "rgb": {
    "r": 193,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 273.939,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72264,
    "c": 0.15001,
    "h": 309.1
  },
  "luminance": 0.35285
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C189EC

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

Preview Lab → · Contrast checker → · Palette generator →

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