#C08AFF#C08AFF

#C08AFF is a light, vivid violet. Relative luminance 0.366; OKLCH L 73.3% C 0.171 H 303.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#C08AFF
RGBrgb(192, 138, 255)
HSLhsl(268, 100%, 77%)
HSVhsv(268, 46%, 100%)
CMYKcmyk(24.7%, 45.9%, 0%, 0%)
CIE-LABlab(66.98, 42.90, -50.74)
CIE-LCHlch(66.98, 66.45, 310.22°)
OKLaboklab(73.29% 0.095 -0.142)
OKLCHoklch(73.29% 0.171 303.8)
XYZxyz(48.8728, 36.6036, 99.0788)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08AFF #C9FF8A
analogous
#8A8FFF #C08AFF #FA8AFF
triadic
#C08AFF #FFC08A #8AFFC0
tetradic
#C08AFF #FF8A8F #C9FF8A #8AFFFA
square
#C08AFF #FF8A8F #C9FF8A #8AFFFA
split-complementary
#C08AFF #FFFA8A #8FFF8A
monochromatic
#7E10FF #9F4DFF #C08AFF #E1C7FF #EFE0FF

Accessibility & contrast

On white

2.52
#C08AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#C08AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08AFF
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08AFF#FFFFFF#000000##000000
##C08AFF1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA2FF
Deuteranopia (green-blind)
#77A3FC
Tritanopia (blue-blind)
#B59EB8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c08aff;
/* rgb */ color: rgb(192, 138, 255);
/* oklch */ color: oklch(73.3% 0.171 303.8);
Tailwind
colors: {
  custom: {
    50: '#d5adff',
    500: '#c08aff',
    950: '#000000',
  },
}
SCSS
$custom: #c08aff;
$custom-light: #d5adff;
$custom-dark: #000000;
JSON
{
  "hex": "#c08aff",
  "rgb": {
    "r": 192,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 267.692,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.73288,
    "c": 0.17088,
    "h": 303.8
  },
  "luminance": 0.36603
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C08AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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