#C08EF2#C08EF2

#C08EF2 is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.3% C 0.149 H 306.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#C08EF2
RGBrgb(192, 142, 242)
HSLhsl(270, 79%, 75%)
HSVhsv(270, 41%, 95%)
CMYKcmyk(20.7%, 41.3%, 0%, 5.1%)
CIE-LABlab(67.25, 37.77, -43.20)
CIE-LCHlch(67.25, 57.38, 311.16°)
OKLaboklab(73.29% 0.0876 -0.1202)
OKLCHoklch(73.29% 0.149 306.1)
XYZxyz(47.4350, 36.9636, 88.6229)
Luminance0.3696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08EF2 #C0F28E
analogous
#8E8EF2 #C08EF2 #F28EF2
triadic
#C08EF2 #F2C08E #8EF2C0
tetradic
#C08EF2 #F28E8E #C0F28E #8EF2F2
square
#C08EF2 #F28E8E #C0F28E #8EF2F2
split-complementary
#C08EF2 #F2F28E #8EF28E
monochromatic
#8320E5 #A157EC #C08EF2 #DFC5F8 #F0E4FC

Accessibility & contrast

On white

2.50
#C08EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#C08EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08EF2
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08EF2#FFFFFF#000000##000000
##C08EF21.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#82A4EF
Tritanopia (blue-blind)
#B99EB5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c08ef2;
/* rgb */ color: rgb(192, 142, 242);
/* oklch */ color: oklch(73.3% 0.149 306.1);
Tailwind
colors: {
  custom: {
    50: '#d5b0f6',
    500: '#c08ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c08ef2;
$custom-light: #d5b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c08ef2",
  "rgb": {
    "r": 192,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 270,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73293,
    "c": 0.1487,
    "h": 306.1
  },
  "luminance": 0.36963
}

Semantic roles & 50–950 ramp

primary
#C08EF2
secondary
#E6F4D7
accent
#DC0A73
background
#FDFAFF
surface
#FAF5FE
border
#D3CFD6
text
#141017
muted
#837F85

Preview Lab

Preview with #C08EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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