#C08CFA#C08CFA

#C08CFA is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.4% C 0.162 H 304.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#C08CFA
RGBrgb(192, 140, 250)
HSLhsl(268, 92%, 76%)
HSVhsv(268, 44%, 98%)
CMYKcmyk(23.2%, 44%, 0%, 2%)
CIE-LABlab(67.18, 40.67, -47.70)
CIE-LCHlch(67.18, 62.68, 310.45°)
OKLaboklab(73.36% 0.0916 -0.1332)
OKLCHoklch(73.36% 0.162 304.5)
XYZxyz(48.3680, 36.8650, 94.9915)
Luminance0.3686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08CFA #C6FA8C
analogous
#8C8FFA #C08CFA #F78CFA
triadic
#C08CFA #FAC08C #8CFAC0
tetradic
#C08CFA #FA8C8F #C6FA8C #8CFAF7
square
#C08CFA #FA8C8F #C6FA8C #8CFAF7
split-complementary
#C08CFA #FAF78C #8FFA8C
monochromatic
#8017F5 #A051F7 #C08CFA #E0C7FD #EFE2FE

Accessibility & contrast

On white

2.51
#C08CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#C08CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08CFA
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08CFA#FFFFFF#000000##000000
##C08CFA1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#7CA4F7
Tritanopia (blue-blind)
#B79EB7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c08cfa;
/* rgb */ color: rgb(192, 140, 250);
/* oklch */ color: oklch(73.4% 0.162 304.5);
Tailwind
colors: {
  custom: {
    50: '#d5aefc',
    500: '#c08cfa',
    950: '#000000',
  },
}
SCSS
$custom: #c08cfa;
$custom-light: #d5aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#c08cfa",
  "rgb": {
    "r": 192,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 268.364,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73358,
    "c": 0.16167,
    "h": 304.5
  },
  "luminance": 0.36865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C08CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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