#C08DF2#C08DF2

#C08DF2 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.1% C 0.150 H 306.3°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#C08DF2
RGBrgb(192, 141, 242)
HSLhsl(270, 80%, 75%)
HSVhsv(270, 42%, 95%)
CMYKcmyk(20.7%, 41.7%, 0%, 5.1%)
CIE-LABlab(67.03, 38.32, -43.55)
CIE-LCHlch(67.03, 58.01, 311.34°)
OKLaboklab(73.13% 0.089 -0.1212)
OKLCHoklch(73.13% 0.15 306.3)
XYZxyz(47.2869, 36.6674, 88.5736)
Luminance0.3667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08DF2 #BFF28D
analogous
#8D8DF2 #C08DF2 #F28DF2
triadic
#C08DF2 #F2C08D #8DF2C0
tetradic
#C08DF2 #F28D8D #BFF28D #8DF2F2
square
#C08DF2 #F28D8D #BFF28D #8DF2F2
split-complementary
#C08DF2 #F2F28D #8DF28D
monochromatic
#831FE5 #A256EC #C08DF2 #DEC4F8 #F0E4FC

Accessibility & contrast

On white

2.52
#C08DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#C08DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08DF2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08DF2#FFFFFF#000000##000000
##C08DF21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A1F6
Deuteranopia (green-blind)
#81A4EF
Tritanopia (blue-blind)
#B99DB4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c08df2;
/* rgb */ color: rgb(192, 141, 242);
/* oklch */ color: oklch(73.1% 0.150 306.3);
Tailwind
colors: {
  custom: {
    50: '#d5aff7',
    500: '#c08df2',
    950: '#000000',
  },
}
SCSS
$custom: #c08df2;
$custom-light: #d5aff7;
$custom-dark: #000000;
JSON
{
  "hex": "#c08df2",
  "rgb": {
    "r": 192,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 270.297,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73125,
    "c": 0.15033,
    "h": 306.3
  },
  "luminance": 0.36667
}

Semantic roles & 50–950 ramp

primary
#C08DF2
secondary
#E5F4D7
accent
#DC0A72
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #C08DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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