#C08FEE#C08FEE

#C08FEE is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.3% C 0.142 H 307.0°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#C08FEE
RGBrgb(192, 143, 238)
HSLhsl(271, 74%, 75%)
HSVhsv(271, 40%, 93%)
CMYKcmyk(19.3%, 39.9%, 0%, 6.7%)
CIE-LABlab(67.30, 36.33, -40.93)
CIE-LCHlch(67.30, 54.73, 311.59°)
OKLaboklab(73.27% 0.0855 -0.1136)
OKLCHoklch(73.27% 0.142 307)
XYZxyz(46.9903, 37.0248, 85.5434)
Luminance0.3702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08FEE #BDEE8F
analogous
#918FEE #C08FEE #EE8FED
triadic
#C08FEE #EEC08F #8FEEC0
tetradic
#C08FEE #EE918F #BDEE8F #8FEDEE
square
#C08FEE #EE918F #BDEE8F #8FEDEE
split-complementary
#C08FEE #EDEE8F #8FEE91
monochromatic
#8425DE #A25AE6 #C08FEE #DEC4F6 #F0E4FB

Accessibility & contrast

On white

2.50
#C08FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#C08FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08FEE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08FEE#FFFFFF#000000##000000
##C08FEE1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA2F2
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#B99EB3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #c08fee;
/* rgb */ color: rgb(192, 143, 238);
/* oklch */ color: oklch(73.3% 0.142 307.0);
Tailwind
colors: {
  custom: {
    50: '#d4b0f4',
    500: '#c08fee',
    950: '#000000',
  },
}
SCSS
$custom: #c08fee;
$custom-light: #d4b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c08fee",
  "rgb": {
    "r": 192,
    "g": 143,
    "b": 238
  },
  "hsl": {
    "h": 270.947,
    "s": 73.643,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73269,
    "c": 0.14218,
    "h": 307
  },
  "luminance": 0.37024
}

Semantic roles & 50–950 ramp

primary
#C08FEE
secondary
#E5F3D8
accent
#D61070
background
#FDFAFE
surface
#FAF5FD
border
#D3CFD5
text
#141017
muted
#837F85

Preview Lab

Preview with #C08FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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