#C07AFA#C07AFA

#C07AFA is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.5% C 0.190 H 307.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#C07AFA
RGBrgb(192, 122, 250)
HSLhsl(273, 93%, 73%)
HSVhsv(273, 51%, 98%)
CMYKcmyk(23.2%, 51.2%, 0%, 2%)
CIE-LABlab(63.37, 50.32, -53.72)
CIE-LCHlch(63.37, 73.61, 313.13°)
OKLaboklab(70.52% 0.1155 -0.1507)
OKLCHoklch(70.52% 0.19 307.5)
XYZxyz(45.9496, 32.0282, 94.1853)
Luminance0.3203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07AFA #B4FA7A
analogous
#807AFA #C07AFA #FA7AF4
triadic
#C07AFA #FAC07A #7AFAC0
tetradic
#C07AFA #FA807A #B4FA7A #7AF4FA
square
#C07AFA #FA807A #B4FA7A #7AF4FA
split-complementary
#C07AFA #F4FA7A #7AFA80
monochromatic
#8809F1 #A43FF8 #C07AFA #DCB5FC #F1E2FE

Accessibility & contrast

On white

2.84
#C07AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#C07AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07AFA
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07AFA#FFFFFF#000000##000000
##C07AFA1.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#6A9AF7
Tritanopia (blue-blind)
#B790AF
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c07afa;
/* rgb */ color: rgb(192, 122, 250);
/* oklch */ color: oklch(70.5% 0.190 307.5);
Tailwind
colors: {
  custom: {
    50: '#d6a2fc',
    500: '#c07afa',
    950: '#000000',
  },
}
SCSS
$custom: #c07afa;
$custom-light: #d6a2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c07afa",
  "rgb": {
    "r": 192,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 272.813,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.70518,
    "c": 0.18986,
    "h": 307.5
  },
  "luminance": 0.32028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C07AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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