#C08DEC#C08DEC

#C08DEC is a light, vivid violet. Relative luminance 0.363; OKLCH L 72.8% C 0.143 H 307.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#C08DEC
RGBrgb(192, 141, 236)
HSLhsl(272, 71%, 74%)
HSVhsv(272, 40%, 93%)
CMYKcmyk(18.6%, 40.3%, 0%, 7.5%)
CIE-LABlab(66.76, 36.98, -40.67)
CIE-LCHlch(66.76, 54.97, 312.28°)
OKLaboklab(72.84% 0.0879 -0.1129)
OKLCHoklch(72.84% 0.143 307.9)
XYZxyz(46.4005, 36.3128, 83.9053)
Luminance0.3631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08DEC #B9EC8D
analogous
#918DEC #C08DEC #EC8DE8
triadic
#C08DEC #ECC08D #8DECC0
tetradic
#C08DEC #EC918D #B9EC8D #8DE8EC
square
#C08DEC #EC918D #B9EC8D #8DE8EC
split-complementary
#C08DEC #E8EC8D #8DEC91
monochromatic
#8624DA #A359E3 #C08DEC #DDC1F5 #F1E5FB

Accessibility & contrast

On white

2.54
#C08DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#C08DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08DEC
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08DEC#FFFFFF#000000##000000
##C08DEC1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A0F0
Deuteranopia (green-blind)
#84A3E9
Tritanopia (blue-blind)
#BA9CB1
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c08dec;
/* rgb */ color: rgb(192, 141, 236);
/* oklch */ color: oklch(72.8% 0.143 307.9);
Tailwind
colors: {
  custom: {
    50: '#d4aff2',
    500: '#c08dec',
    950: '#000000',
  },
}
SCSS
$custom: #c08dec;
$custom-light: #d4aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#c08dec",
  "rgb": {
    "r": 192,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 272.211,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72835,
    "c": 0.14305,
    "h": 307.9
  },
  "luminance": 0.36312
}

Semantic roles & 50–950 ramp

primary
#C08DEC
secondary
#E5F2D9
accent
#D3126C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C08DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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