#C08DFF#C08DFF

#C08DFF is a light, vivid violet. Relative luminance 0.375; OKLCH L 73.8% C 0.166 H 303.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#C08DFF
RGBrgb(192, 141, 255)
HSLhsl(267, 100%, 78%)
HSVhsv(267, 45%, 100%)
CMYKcmyk(24.7%, 44.7%, 0%, 0%)
CIE-LABlab(67.63, 41.27, -49.71)
CIE-LCHlch(67.63, 64.61, 309.70°)
OKLaboklab(73.78% 0.091 -0.139)
OKLCHoklch(73.78% 0.166 303.2)
XYZxyz(49.3092, 37.4763, 99.2243)
Luminance0.3748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08DFF #CCFF8D
analogous
#8D93FF #C08DFF #F98DFF
triadic
#C08DFF #FFC08D #8DFFC0
tetradic
#C08DFF #FF8D93 #CCFF8D #8DFFF9
square
#C08DFF #FF8D93 #CCFF8D #8DFFF9
split-complementary
#C08DFF #FFF98D #93FF8D
monochromatic
#7C13FF #9E50FF #C08DFF #E2CAFF #EEE0FF

Accessibility & contrast

On white

2.47
#C08DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#C08DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08DFF
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08DFF#FFFFFF#000000##000000
##C08DFF1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA4FF
Deuteranopia (green-blind)
#7AA5FC
Tritanopia (blue-blind)
#B5A1BA
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #c08dff;
/* rgb */ color: rgb(192, 141, 255);
/* oklch */ color: oklch(73.8% 0.166 303.2);
Tailwind
colors: {
  custom: {
    50: '#d5afff',
    500: '#c08dff',
    950: '#000000',
  },
}
SCSS
$custom: #c08dff;
$custom-light: #d5afff;
$custom-dark: #000000;
JSON
{
  "hex": "#c08dff",
  "rgb": {
    "r": 192,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 266.842,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.73778,
    "c": 0.16617,
    "h": 303.2
  },
  "luminance": 0.37476
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C08DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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