#C08CE7#C08CE7

#C08CE7 is a light, vivid violet. Relative luminance 0.357; OKLCH L 72.4% C 0.139 H 309.6°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#C08CE7
RGBrgb(192, 140, 231)
HSLhsl(274, 65%, 73%)
HSVhsv(274, 39%, 91%)
CMYKcmyk(16.9%, 39.4%, 0%, 9.4%)
CIE-LABlab(66.32, 36.44, -38.61)
CIE-LCHlch(66.32, 53.09, 313.34°)
OKLaboklab(72.43% 0.0883 -0.1069)
OKLCHoklch(72.43% 0.139 309.6)
XYZxyz(45.5375, 35.7327, 80.0840)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08CE7 #B3E78C
analogous
#928CE7 #C08CE7 #E78CE0
triadic
#C08CE7 #E7C08C #8CE7C0
tetradic
#C08CE7 #E7928C #B3E78C #8CE0E7
square
#C08CE7 #E7928C #B3E78C #8CE0E7
split-complementary
#C08CE7 #E0E78C #8CE792
monochromatic
#882BCE #A459DC #C08CE7 #DCBFF2 #F1E6FA

Accessibility & contrast

On white

2.58
#C08CE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#C08CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08CE7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08CE7#FFFFFF#000000##000000
##C08CE71.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#799FEA
Deuteranopia (green-blind)
#86A2E4
Tritanopia (blue-blind)
#BB99AF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c08ce7;
/* rgb */ color: rgb(192, 140, 231);
/* oklch */ color: oklch(72.4% 0.139 309.6);
Tailwind
colors: {
  custom: {
    50: '#d4aeef',
    500: '#c08ce7',
    950: '#000000',
  },
}
SCSS
$custom: #c08ce7;
$custom-light: #d4aeef;
$custom-dark: #000000;
JSON
{
  "hex": "#c08ce7",
  "rgb": {
    "r": 192,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 274.286,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72428,
    "c": 0.13869,
    "h": 309.6
  },
  "luminance": 0.35732
}

Semantic roles & 50–950 ramp

primary
#C08CE7
secondary
#E4F1DA
accent
#CD1866
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141016
muted
#837F84

Preview Lab

Preview with #C08CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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