#C08FF2#C08FF2

#C08FF2 is a light, vivid violet. Relative luminance 0.373; OKLCH L 73.5% C 0.147 H 305.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#C08FF2
RGBrgb(192, 143, 242)
HSLhsl(270, 79%, 75%)
HSVhsv(270, 41%, 95%)
CMYKcmyk(20.7%, 40.9%, 0%, 5.1%)
CIE-LABlab(67.47, 37.22, -42.85)
CIE-LCHlch(67.47, 56.76, 310.98°)
OKLaboklab(73.46% 0.0862 -0.1191)
OKLCHoklch(73.46% 0.147 305.9)
XYZxyz(47.5845, 37.2625, 88.6728)
Luminance0.3726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08FF2 #C1F28F
analogous
#8F8FF2 #C08FF2 #F18FF2
triadic
#C08FF2 #F2C08F #8FF2C0
tetradic
#C08FF2 #F28F8F #C1F28F #8FF2F1
square
#C08FF2 #F28F8F #C1F28F #8FF2F1
split-complementary
#C08FF2 #F2F18F #8FF28F
monochromatic
#8221E5 #A158EC #C08FF2 #DFC6F8 #F0E4FC

Accessibility & contrast

On white

2.48
#C08FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#C08FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08FF2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08FF2#FFFFFF#000000##000000
##C08FF21.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#83A5EF
Tritanopia (blue-blind)
#B89FB5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c08ff2;
/* rgb */ color: rgb(192, 143, 242);
/* oklch */ color: oklch(73.5% 0.147 305.9);
Tailwind
colors: {
  custom: {
    50: '#d4b0f6',
    500: '#c08ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c08ff2;
$custom-light: #d4b0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#c08ff2",
  "rgb": {
    "r": 192,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 269.697,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73461,
    "c": 0.14707,
    "h": 305.9
  },
  "luminance": 0.37262
}

Semantic roles & 50–950 ramp

primary
#C08FF2
secondary
#E6F4D7
accent
#DB0A74
background
#FDFAFF
surface
#FAF5FE
border
#D3CFD6
text
#141017
muted
#837F85

Preview Lab

Preview with #C08FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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