#C07AF7#C07AF7

#C07AF7 is a light, vivid violet. Relative luminance 0.318; OKLCH L 70.4% C 0.186 H 308.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#C07AF7
RGBrgb(192, 122, 247)
HSLhsl(274, 89%, 72%)
HSVhsv(274, 51%, 97%)
CMYKcmyk(22.3%, 50.6%, 0%, 3.1%)
CIE-LABlab(63.21, 49.66, -52.32)
CIE-LCHlch(63.21, 72.13, 313.51°)
OKLaboklab(70.35% 0.1153 -0.1466)
OKLCHoklch(70.35% 0.186 308.2)
XYZxyz(45.4830, 31.8415, 91.7276)
Luminance0.3184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07AF7 #B1F77A
analogous
#827AF7 #C07AF7 #F77AEF
triadic
#C07AF7 #F7C07A #7AF7C0
tetradic
#C07AF7 #F7827A #B1F77A #7AEFF7
square
#C07AF7 #F7827A #B1F77A #7AEFF7
split-complementary
#C07AF7 #EFF77A #7AF782
monochromatic
#880EE9 #A540F4 #C07AF7 #DBB4FA #F1E2FD

Accessibility & contrast

On white

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

On black

7.37
#C07AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07AF7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07AF7#FFFFFF#000000##000000
##C07AF71.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#6C9AF4
Tritanopia (blue-blind)
#B890AD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #c07af7;
/* rgb */ color: rgb(192, 122, 247);
/* oklch */ color: oklch(70.4% 0.186 308.2);
Tailwind
colors: {
  custom: {
    50: '#d6a2fa',
    500: '#c07af7',
    950: '#000000',
  },
}
SCSS
$custom: #c07af7;
$custom-light: #d6a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c07af7",
  "rgb": {
    "r": 192,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 273.6,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.70353,
    "c": 0.18647,
    "h": 308.2
  },
  "luminance": 0.31841
}

Semantic roles & 50–950 ramp

primary
#C07AF7
secondary
#E4F5D6
accent
#E50065
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C07AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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