#C08BEC#C08BEC

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

Color values

HEX#C08BEC
RGBrgb(192, 139, 236)
HSLhsl(273, 72%, 74%)
HSVhsv(273, 41%, 93%)
CMYKcmyk(18.6%, 41.1%, 0%, 7.5%)
CIE-LABlab(66.31, 38.08, -41.37)
CIE-LCHlch(66.31, 56.23, 312.63°)
OKLaboklab(72.5% 0.0907 -0.1149)
OKLCHoklch(72.5% 0.146 308.3)
XYZxyz(46.1083, 35.7283, 83.8079)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08BEC #B7EC8B
analogous
#8F8BEC #C08BEC #EC8BE7
triadic
#C08BEC #ECC08B #8BECC0
tetradic
#C08BEC #EC8F8B #B7EC8B #8BE7EC
square
#C08BEC #EC8F8B #B7EC8B #8BE7EC
split-complementary
#C08BEC #E7EC8B #8BEC8F
monochromatic
#8724D9 #A356E3 #C08BEC #DDC0F5 #F1E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C08BEC#FFFFFF#000000##000000
##C08BEC1.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)
#769FF0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#BA9AB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #c08bec;
/* rgb */ color: rgb(192, 139, 236);
/* oklch */ color: oklch(72.5% 0.146 308.3);
Tailwind
colors: {
  custom: {
    50: '#d4aef2',
    500: '#c08bec',
    950: '#000000',
  },
}
SCSS
$custom: #c08bec;
$custom-light: #d4aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#c08bec",
  "rgb": {
    "r": 192,
    "g": 139,
    "b": 236
  },
  "hsl": {
    "h": 272.784,
    "s": 71.852,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72498,
    "c": 0.14636,
    "h": 308.3
  },
  "luminance": 0.35728
}

Semantic roles & 50–950 ramp

primary
#C08BEC
secondary
#E4F2D9
accent
#D4126A
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#141017
muted
#837F85

Preview Lab

Preview with #C08BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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