#C08CF8#C08CF8

#C08CF8 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.3% C 0.159 H 305.0°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#C08CF8
RGBrgb(192, 140, 248)
HSLhsl(269, 89%, 76%)
HSVhsv(269, 44%, 97%)
CMYKcmyk(22.6%, 43.5%, 0%, 2.7%)
CIE-LABlab(67.08, 40.22, -46.75)
CIE-LCHlch(67.08, 61.67, 310.70°)
OKLaboklab(73.26% 0.0913 -0.1304)
OKLCHoklch(73.26% 0.159 305)
XYZxyz(48.0561, 36.7402, 93.3486)
Luminance0.3674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08CF8 #C4F88C
analogous
#8C8EF8 #C08CF8 #F68CF8
triadic
#C08CF8 #F8C08C #8CF8C0
tetradic
#C08CF8 #F88C8E #C4F88C #8CF8F6
square
#C08CF8 #F88C8E #C4F88C #8CF8F6
split-complementary
#C08CF8 #F8F68C #8EF88C
monochromatic
#8119F1 #A052F4 #C08CF8 #E0C6FC #EFE2FD

Accessibility & contrast

On white

2.52
#C08CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#C08CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08CF8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08CF8#FFFFFF#000000##000000
##C08CF81.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#B79EB6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #c08cf8;
/* rgb */ color: rgb(192, 140, 248);
/* oklch */ color: oklch(73.3% 0.159 305.0);
Tailwind
colors: {
  custom: {
    50: '#d5aefb',
    500: '#c08cf8',
    950: '#000000',
  },
}
SCSS
$custom: #c08cf8;
$custom-light: #d5aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#c08cf8",
  "rgb": {
    "r": 192,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 268.889,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.15923,
    "h": 305
  },
  "luminance": 0.3674
}

Semantic roles & 50–950 ramp

primary
#C08CF8
secondary
#E6F5D6
accent
#E50077
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#141017
muted
#837F85

Preview Lab

Preview with #C08CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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