#C185EC#C185EC

#C185EC is a light, vivid violet. Relative luminance 0.342; OKLCH L 71.6% C 0.157 H 309.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#C185EC
RGBrgb(193, 133, 236)
HSLhsl(275, 73%, 72%)
HSVhsv(275, 44%, 93%)
CMYKcmyk(18.2%, 43.6%, 0%, 7.5%)
CIE-LABlab(65.10, 41.63, -43.27)
CIE-LCHlch(65.10, 60.05, 313.89°)
OKLaboklab(71.61% 0.1002 -0.1203)
OKLCHoklch(71.61% 0.157 309.8)
XYZxyz(45.5174, 34.1693, 83.5381)
Luminance0.3417 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C185EC #B0EC85
analogous
#8D85EC #C185EC #EC85E4
triadic
#C185EC #ECC185 #85ECC1
tetradic
#C185EC #EC8D85 #B0EC85 #85E4EC
square
#C185EC #EC8D85 #B0EC85 #85E4EC
split-complementary
#C185EC #E4EC85 #85EC8D
monochromatic
#8A21D5 #A650E4 #C185EC #DCBAF4 #F2E5FB

Accessibility & contrast

On white

2.68
#C185EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#C185EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C185EC
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C185EC#FFFFFF#000000##000000
##C185EC1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BF0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#BC95AD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c185ec;
/* rgb */ color: rgb(193, 133, 236);
/* oklch */ color: oklch(71.6% 0.157 309.8);
Tailwind
colors: {
  custom: {
    50: '#d5a9f2',
    500: '#c185ec',
    950: '#000000',
  },
}
SCSS
$custom: #c185ec;
$custom-light: #d5a9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c185ec",
  "rgb": {
    "r": 193,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 274.951,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71608,
    "c": 0.1566,
    "h": 309.8
  },
  "luminance": 0.34169
}

Semantic roles & 50–950 ramp

primary
#C185EC
secondary
#E3F3D8
accent
#D51063
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C185EC

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

Preview Lab → · Contrast checker → · Palette generator →

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