#C08CF2#C08CF2

#C08CF2 is a light, vivid violet. Relative luminance 0.364; OKLCH L 73.0% C 0.152 H 306.5°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#C08CF2
RGBrgb(192, 140, 242)
HSLhsl(271, 80%, 75%)
HSVhsv(271, 42%, 95%)
CMYKcmyk(20.7%, 42.1%, 0%, 5.1%)
CIE-LABlab(66.80, 38.86, -43.90)
CIE-LCHlch(66.80, 58.63, 311.52°)
OKLaboklab(72.96% 0.0904 -0.1222)
OKLCHoklch(72.96% 0.152 306.5)
XYZxyz(47.1401, 36.3738, 88.5246)
Luminance0.3637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08CF2 #BEF28C
analogous
#8D8CF2 #C08CF2 #F28CF1
triadic
#C08CF2 #F2C08C #8CF2C0
tetradic
#C08CF2 #F28D8C #BEF28C #8CF1F2
square
#C08CF2 #F28D8C #BEF28C #8CF1F2
split-complementary
#C08CF2 #F1F28C #8CF28D
monochromatic
#841EE6 #A255EC #C08CF2 #DEC3F8 #F0E4FC

Accessibility & contrast

On white

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

On black

8.27
#C08CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08CF2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08CF2#FFFFFF#000000##000000
##C08CF21.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#B99CB4
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c08cf2;
/* rgb */ color: rgb(192, 140, 242);
/* oklch */ color: oklch(73.0% 0.152 306.5);
Tailwind
colors: {
  custom: {
    50: '#d5aef7',
    500: '#c08cf2',
    950: '#000000',
  },
}
SCSS
$custom: #c08cf2;
$custom-light: #d5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c08cf2",
  "rgb": {
    "r": 192,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 270.588,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.72958,
    "c": 0.15196,
    "h": 306.5
  },
  "luminance": 0.36373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C08CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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