#C08DFC#C08DFC

#C08DFC is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.6% C 0.163 H 303.9°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#C08DFC
RGBrgb(192, 141, 252)
HSLhsl(268, 95%, 77%)
HSVhsv(268, 44%, 99%)
CMYKcmyk(23.8%, 44%, 0%, 1.2%)
CIE-LABlab(67.49, 40.58, -48.30)
CIE-LCHlch(67.49, 63.08, 310.04°)
OKLaboklab(73.63% 0.0906 -0.1349)
OKLCHoklch(73.63% 0.163 303.9)
XYZxyz(48.8300, 37.2846, 96.7008)
Luminance0.3728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08DFC #C9FC8D
analogous
#8D91FC #C08DFC #F88DFC
triadic
#C08DFC #FCC08D #8DFCC0
tetradic
#C08DFC #FC8D91 #C9FC8D #8DFCF8
square
#C08DFC #FC8D91 #C9FC8D #8DFCF8
split-complementary
#C08DFC #FCF88D #91FC8D
monochromatic
#7E16F9 #9F51FA #C08DFC #E1C9FE #EFE1FE

Accessibility & contrast

On white

2.48
#C08DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#C08DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08DFC
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08DFC#FFFFFF#000000##000000
##C08DFC1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A3FF
Deuteranopia (green-blind)
#7CA4F9
Tritanopia (blue-blind)
#B6A0B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c08dfc;
/* rgb */ color: rgb(192, 141, 252);
/* oklch */ color: oklch(73.6% 0.163 303.9);
Tailwind
colors: {
  custom: {
    50: '#d5affe',
    500: '#c08dfc',
    950: '#000000',
  },
}
SCSS
$custom: #c08dfc;
$custom-light: #d5affe;
$custom-dark: #000000;
JSON
{
  "hex": "#c08dfc",
  "rgb": {
    "r": 192,
    "g": 141,
    "b": 252
  },
  "hsl": {
    "h": 267.568,
    "s": 94.872,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.16251,
    "h": 303.9
  },
  "luminance": 0.37284
}

Semantic roles & 50–950 ramp

primary
#C08DFC
secondary
#E7F6D5
accent
#E6007C
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #C08DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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