#C08DE7#C08DE7

#C08DE7 is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.6% C 0.137 H 309.4°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#C08DE7
RGBrgb(192, 141, 231)
HSLhsl(274, 65%, 73%)
HSVhsv(274, 39%, 91%)
CMYKcmyk(16.9%, 39%, 0%, 9.4%)
CIE-LABlab(66.54, 35.89, -38.26)
CIE-LCHlch(66.54, 52.46, 313.17°)
OKLaboklab(72.6% 0.0869 -0.1059)
OKLCHoklch(72.6% 0.137 309.4)
XYZxyz(45.6843, 36.0263, 80.1329)
Luminance0.3603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08DE7 #B4E78D
analogous
#938DE7 #C08DE7 #E78DE1
triadic
#C08DE7 #E7C08D #8DE7C0
tetradic
#C08DE7 #E7938D #B4E78D #8DE1E7
square
#C08DE7 #E7938D #B4E78D #8DE1E7
split-complementary
#C08DE7 #E1E78D #8DE793
monochromatic
#882BCE #A45ADC #C08DE7 #DCC0F2 #F1E6FA

Accessibility & contrast

On white

2.56
#C08DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#C08DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08DE7
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08DE7#FFFFFF#000000##000000
##C08DE71.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B9FEA
Deuteranopia (green-blind)
#87A3E4
Tritanopia (blue-blind)
#BB9AAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c08de7;
/* rgb */ color: rgb(192, 141, 231);
/* oklch */ color: oklch(72.6% 0.137 309.4);
Tailwind
colors: {
  custom: {
    50: '#d4afef',
    500: '#c08de7',
    950: '#000000',
  },
}
SCSS
$custom: #c08de7;
$custom-light: #d4afef;
$custom-dark: #000000;
JSON
{
  "hex": "#c08de7",
  "rgb": {
    "r": 192,
    "g": 141,
    "b": 231
  },
  "hsl": {
    "h": 274,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72598,
    "c": 0.13701,
    "h": 309.4
  },
  "luminance": 0.36026
}

Semantic roles & 50–950 ramp

primary
#C08DE7
secondary
#E4F1DA
accent
#CD1867
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C08DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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