#C08DFD#C08DFD

#C08DFD is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.7% C 0.164 H 303.7°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#C08DFD
RGBrgb(192, 141, 253)
HSLhsl(267, 97%, 77%)
HSVhsv(267, 44%, 99%)
CMYKcmyk(24.1%, 44.3%, 0%, 0.8%)
CIE-LABlab(67.54, 40.81, -48.77)
CIE-LCHlch(67.54, 63.59, 309.93°)
OKLaboklab(73.68% 0.0907 -0.1363)
OKLCHoklch(73.68% 0.164 303.7)
XYZxyz(48.9889, 37.3482, 97.5375)
Luminance0.3735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08DFD #CAFD8D
analogous
#8D92FD #C08DFD #F88DFD
triadic
#C08DFD #FDC08D #8DFDC0
tetradic
#C08DFD #FD8D92 #CAFD8D #8DFDF8
square
#C08DFD #FD8D92 #CAFD8D #8DFDF8
split-complementary
#C08DFD #FDF88D #92FD8D
monochromatic
#7E15FB #9F51FC #C08DFD #E1C9FE #EEE1FE

Accessibility & contrast

On white

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

On black

8.47
#C08DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08DFD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08DFD#FFFFFF#000000##000000
##C08DFD1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA3FF
Deuteranopia (green-blind)
#7BA4FA
Tritanopia (blue-blind)
#B6A0B9
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c08dfd;
/* rgb */ color: rgb(192, 141, 253);
/* oklch */ color: oklch(73.7% 0.164 303.7);
Tailwind
colors: {
  custom: {
    50: '#d5affe',
    500: '#c08dfd',
    950: '#000000',
  },
}
SCSS
$custom: #c08dfd;
$custom-light: #d5affe;
$custom-dark: #000000;
JSON
{
  "hex": "#c08dfd",
  "rgb": {
    "r": 192,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 267.321,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.73676,
    "c": 0.16373,
    "h": 303.7
  },
  "luminance": 0.37348
}

Semantic roles & 50–950 ramp

primary
#C08DFD
secondary
#E7F7D4
accent
#E6007D
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141018
muted
#837F86

Preview Lab

Preview with #C08DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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