#C08EFE#C08EFE

#C08EFE is a light, vivid violet. Relative luminance 0.377; OKLCH L 73.9% C 0.163 H 303.2°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#C08EFE
RGBrgb(192, 142, 254)
HSLhsl(267, 98%, 78%)
HSVhsv(267, 44%, 100%)
CMYKcmyk(24.4%, 44.1%, 0%, 0.4%)
CIE-LABlab(67.81, 40.50, -48.89)
CIE-LCHlch(67.81, 63.48, 309.64°)
OKLaboklab(73.89% 0.0895 -0.1367)
OKLCHoklch(73.89% 0.163 303.2)
XYZxyz(49.2968, 37.7083, 98.4281)
Luminance0.3771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08EFE #CCFE8E
analogous
#8E94FE #C08EFE #F88EFE
triadic
#C08EFE #FEC08E #8EFEC0
tetradic
#C08EFE #FE8E94 #CCFE8E #8EFEF8
square
#C08EFE #FE8E94 #CCFE8E #8EFEF8
split-complementary
#C08EFE #FEF88E #94FE8E
monochromatic
#7C15FD #9E51FD #C08EFE #E2CBFF #EEE1FF

Accessibility & contrast

On white

2.46
#C08EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#C08EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08EFE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08EFE#FFFFFF#000000##000000
##C08EFE1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#7CA5FB
Tritanopia (blue-blind)
#B5A1BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c08efe;
/* rgb */ color: rgb(192, 142, 254);
/* oklch */ color: oklch(73.9% 0.163 303.2);
Tailwind
colors: {
  custom: {
    50: '#d5b0ff',
    500: '#c08efe',
    950: '#000000',
  },
}
SCSS
$custom: #c08efe;
$custom-light: #d5b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c08efe",
  "rgb": {
    "r": 192,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 266.786,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73892,
    "c": 0.16338,
    "h": 303.2
  },
  "luminance": 0.37708
}

Semantic roles & 50–950 ramp

primary
#C08EFE
secondary
#E7F7D4
accent
#E6007F
background
#FDFAFF
surface
#FAF5FF
border
#D3CFD7
text
#141018
muted
#837F86

Preview Lab

Preview with #C08EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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