#C08AFA#C08AFA

#C08AFA is a light, vivid violet. Relative luminance 0.363; OKLCH L 73.0% C 0.165 H 304.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#C08AFA
RGBrgb(192, 138, 250)
HSLhsl(269, 92%, 76%)
HSVhsv(269, 45%, 98%)
CMYKcmyk(23.2%, 44.8%, 0%, 2%)
CIE-LABlab(66.74, 41.76, -48.39)
CIE-LCHlch(66.74, 63.92, 310.80°)
OKLaboklab(73.03% 0.0943 -0.1352)
OKLCHoklch(73.03% 0.165 304.9)
XYZxyz(48.0784, 36.2858, 94.8949)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08AFA #C4FA8A
analogous
#8A8CFA #C08AFA #F88AFA
triadic
#C08AFA #FAC08A #8AFAC0
tetradic
#C08AFA #FA8A8C #C4FA8A #8AFAF8
square
#C08AFA #FA8A8C #C4FA8A #8AFAF8
split-complementary
#C08AFA #FAF88A #8CFA8A
monochromatic
#8115F5 #A04FF7 #C08AFA #E0C5FD #EFE2FE

Accessibility & contrast

On white

2.54
#C08AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#C08AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08AFA
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08AFA#FFFFFF#000000##000000
##C08AFA1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA1FE
Deuteranopia (green-blind)
#7AA3F7
Tritanopia (blue-blind)
#B79DB6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c08afa;
/* rgb */ color: rgb(192, 138, 250);
/* oklch */ color: oklch(73.0% 0.165 304.9);
Tailwind
colors: {
  custom: {
    50: '#d5adfc',
    500: '#c08afa',
    950: '#000000',
  },
}
SCSS
$custom: #c08afa;
$custom-light: #d5adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c08afa",
  "rgb": {
    "r": 192,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 268.929,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73029,
    "c": 0.16485,
    "h": 304.9
  },
  "luminance": 0.36286
}

Semantic roles & 50–950 ramp

primary
#C08AFA
secondary
#E6F6D5
accent
#E60077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C08AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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