#C07AFE#C07AFE

#C07AFE is a light, vivid violet. Relative luminance 0.323; OKLCH L 70.7% C 0.194 H 306.6°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#C07AFE
RGBrgb(192, 122, 254)
HSLhsl(272, 99%, 74%)
HSVhsv(272, 52%, 100%)
CMYKcmyk(24.4%, 52%, 0%, 0.4%)
CIE-LABlab(63.58, 51.22, -55.59)
CIE-LCHlch(63.58, 75.59, 312.66°)
OKLaboklab(70.74% 0.1158 -0.1561)
OKLCHoklch(70.74% 0.194 306.6)
XYZxyz(46.5835, 32.2817, 97.5236)
Luminance0.3228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07AFE #B8FE7A
analogous
#7E7AFE #C07AFE #FE7AFA
triadic
#C07AFE #FEC07A #7AFEC0
tetradic
#C07AFE #FE7E7A #B8FE7A #7AFAFE
square
#C07AFE #FE7E7A #B8FE7A #7AFAFE
split-complementary
#C07AFE #FAFE7A #7AFE7E
monochromatic
#8602FC #A33DFE #C07AFE #DDB7FE #F1E1FF

Accessibility & contrast

On white

2.82
#C07AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#C07AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07AFE
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07AFE#FFFFFF#000000##000000
##C07AFE1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5197FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#B692B1
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #c07afe;
/* rgb */ color: rgb(192, 122, 254);
/* oklch */ color: oklch(70.7% 0.194 306.6);
Tailwind
colors: {
  custom: {
    50: '#d6a2ff',
    500: '#c07afe',
    950: '#000000',
  },
}
SCSS
$custom: #c07afe;
$custom-light: #d6a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c07afe",
  "rgb": {
    "r": 192,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 271.818,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7074,
    "c": 0.1944,
    "h": 306.6
  },
  "luminance": 0.32281
}

Semantic roles & 50–950 ramp

primary
#C07AFE
secondary
#E4F7D4
accent
#E6006C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C07AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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