#C08DEF#C08DEF

#C08DEF is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.0% C 0.147 H 307.1°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#C08DEF
RGBrgb(192, 141, 239)
HSLhsl(271, 75%, 75%)
HSVhsv(271, 41%, 94%)
CMYKcmyk(19.7%, 41%, 0%, 6.3%)
CIE-LABlab(66.89, 37.65, -42.12)
CIE-LCHlch(66.89, 56.49, 311.79°)
OKLaboklab(72.98% 0.0885 -0.117)
OKLCHoklch(72.98% 0.147 307.1)
XYZxyz(46.8400, 36.4886, 86.2200)
Luminance0.3649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08DEF #BCEF8D
analogous
#8F8DEF #C08DEF #EF8DED
triadic
#C08DEF #EFC08D #8DEFC0
tetradic
#C08DEF #EF8F8D #BCEF8D #8DEDEF
square
#C08DEF #EF8F8D #BCEF8D #8DEDEF
split-complementary
#C08DEF #EDEF8D #8DEF8F
monochromatic
#8522E0 #A257E7 #C08DEF #DEC3F7 #F0E4FB

Accessibility & contrast

On white

2.53
#C08DEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#C08DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08DEF
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08DEF#FFFFFF#000000##000000
##C08DEF1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#83A3EC
Tritanopia (blue-blind)
#B99CB3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c08def;
/* rgb */ color: rgb(192, 141, 239);
/* oklch */ color: oklch(73.0% 0.147 307.1);
Tailwind
colors: {
  custom: {
    50: '#d4aff4',
    500: '#c08def',
    950: '#000000',
  },
}
SCSS
$custom: #c08def;
$custom-light: #d4aff4;
$custom-dark: #000000;
JSON
{
  "hex": "#c08def",
  "rgb": {
    "r": 192,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 271.224,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72979,
    "c": 0.14669,
    "h": 307.1
  },
  "luminance": 0.36488
}

Semantic roles & 50–950 ramp

primary
#C08DEF
secondary
#E5F3D8
accent
#D80E6F
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C08DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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