#C08BF2#C08BF2

#C08BF2 is a light, vivid violet. Relative luminance 0.361; OKLCH L 72.8% C 0.154 H 306.7°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#C08BF2
RGBrgb(192, 139, 242)
HSLhsl(271, 80%, 75%)
HSVhsv(271, 43%, 95%)
CMYKcmyk(20.7%, 42.6%, 0%, 5.1%)
CIE-LABlab(66.58, 39.41, -44.25)
CIE-LCHlch(66.58, 59.25, 311.69°)
OKLaboklab(72.79% 0.0917 -0.1232)
OKLCHoklch(72.79% 0.154 306.7)
XYZxyz(46.9947, 36.0829, 88.4762)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08BF2 #BDF28B
analogous
#8D8BF2 #C08BF2 #F28BF0
triadic
#C08BF2 #F2C08B #8BF2C0
tetradic
#C08BF2 #F28D8B #BDF28B #8BF0F2
square
#C08BF2 #F28D8B #BDF28B #8BF0F2
split-complementary
#C08BF2 #F0F28B #8BF28D
monochromatic
#841DE6 #A254EC #C08BF2 #DEC2F8 #F0E3FC

Accessibility & contrast

On white

2.56
#C08BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#C08BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08BF2
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08BF2#FFFFFF#000000##000000
##C08BF21.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#B99BB3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #c08bf2;
/* rgb */ color: rgb(192, 139, 242);
/* oklch */ color: oklch(72.8% 0.154 306.7);
Tailwind
colors: {
  custom: {
    50: '#d5aef7',
    500: '#c08bf2',
    950: '#000000',
  },
}
SCSS
$custom: #c08bf2;
$custom-light: #d5aef7;
$custom-dark: #000000;
JSON
{
  "hex": "#c08bf2",
  "rgb": {
    "r": 192,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 270.874,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72791,
    "c": 0.15359,
    "h": 306.7
  },
  "luminance": 0.36083
}

Semantic roles & 50–950 ramp

primary
#C08BF2
secondary
#E5F4D7
accent
#DC0970
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#141017
muted
#837F85

Preview Lab

Preview with #C08BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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