#C07AF8#C07AF8

#C07AF8 is a light, vivid violet. Relative luminance 0.319; OKLCH L 70.4% C 0.188 H 307.9°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#C07AF8
RGBrgb(192, 122, 248)
HSLhsl(273, 90%, 73%)
HSVhsv(273, 51%, 97%)
CMYKcmyk(22.6%, 50.8%, 0%, 2.7%)
CIE-LABlab(63.26, 49.88, -52.79)
CIE-LCHlch(63.26, 72.63, 313.38°)
OKLaboklab(70.41% 0.1154 -0.1479)
OKLCHoklch(70.41% 0.188 307.9)
XYZxyz(45.6377, 31.9034, 92.5425)
Luminance0.3190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07AF8 #B2F87A
analogous
#817AF8 #C07AF8 #F87AF1
triadic
#C07AF8 #F8C07A #7AF8C0
tetradic
#C07AF8 #F8817A #B2F87A #7AF1F8
square
#C07AF8 #F8817A #B2F87A #7AF1F8
split-complementary
#C07AF8 #F1F87A #7AF881
monochromatic
#880CEB #A440F5 #C07AF8 #DCB4FB #F1E2FD

Accessibility & contrast

On white

2.85
#C07AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#C07AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07AF8
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07AF8#FFFFFF#000000##000000
##C07AF81.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#B890AE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c07af8;
/* rgb */ color: rgb(192, 122, 248);
/* oklch */ color: oklch(70.4% 0.188 307.9);
Tailwind
colors: {
  custom: {
    50: '#d6a2fb',
    500: '#c07af8',
    950: '#000000',
  },
}
SCSS
$custom: #c07af8;
$custom-light: #d6a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c07af8",
  "rgb": {
    "r": 192,
    "g": 122,
    "b": 248
  },
  "hsl": {
    "h": 273.333,
    "s": 90,
    "l": 72.549
  },
  "oklch": {
    "l": 0.70408,
    "c": 0.18761,
    "h": 307.9
  },
  "luminance": 0.31903
}

Semantic roles & 50–950 ramp

primary
#C07AF8
secondary
#E4F6D5
accent
#E60066
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C07AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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