#C08CF7#C08CF7

#C08CF7 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.2% C 0.158 H 305.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#C08CF7
RGBrgb(192, 140, 247)
HSLhsl(269, 87%, 76%)
HSVhsv(269, 43%, 97%)
CMYKcmyk(22.3%, 43.3%, 0%, 3.1%)
CIE-LABlab(67.03, 39.99, -46.28)
CIE-LCHlch(67.03, 61.16, 310.83°)
OKLaboklab(73.21% 0.0912 -0.1291)
OKLCHoklch(73.21% 0.158 305.2)
XYZxyz(47.9013, 36.6783, 92.5338)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C08CF7 #C3F78C
analogous
#8C8DF7 #C08CF7 #F68CF7
triadic
#C08CF7 #F7C08C #8CF7C0
tetradic
#C08CF7 #F78C8D #C3F78C #8CF7F6
square
#C08CF7 #F78C8D #C3F78C #8CF7F6
split-complementary
#C08CF7 #F7F68C #8DF78C
monochromatic
#811AEF #A153F3 #C08CF7 #DFC5FB #EFE2FD

Accessibility & contrast

On white

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

On black

8.34
#C08CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C08CF7
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C08CF7#FFFFFF#000000##000000
##C08CF71.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c08cf7;
/* rgb */ color: rgb(192, 140, 247);
/* oklch */ color: oklch(73.2% 0.158 305.2);
Tailwind
colors: {
  custom: {
    50: '#d5aefa',
    500: '#c08cf7',
    950: '#000000',
  },
}
SCSS
$custom: #c08cf7;
$custom-light: #d5aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#c08cf7",
  "rgb": {
    "r": 192,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 269.159,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.73206,
    "c": 0.15803,
    "h": 305.2
  },
  "luminance": 0.36678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C08CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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