#C07AEF#C07AEF

#C07AEF is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.9% C 0.177 H 310.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#C07AEF
RGBrgb(192, 122, 239)
HSLhsl(276, 79%, 71%)
HSVhsv(276, 49%, 94%)
CMYKcmyk(19.7%, 49%, 0%, 6.3%)
CIE-LABlab(62.81, 47.90, -48.54)
CIE-LCHlch(62.81, 68.19, 314.62°)
OKLaboklab(69.92% 0.1145 -0.1356)
OKLCHoklch(69.92% 0.177 310.2)
XYZxyz(44.2749, 31.3583, 85.3650)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07AEF #A9EF7A
analogous
#857AEF #C07AEF #EF7AE4
triadic
#C07AEF #EFC07A #7AEFC0
tetradic
#C07AEF #EF857A #A9EF7A #7AE4EF
square
#C07AEF #EF857A #A9EF7A #7AE4EF
split-complementary
#C07AEF #E4EF7A #7AEF85
monochromatic
#8A1AD5 #A643E8 #C07AEF #DAB1F6 #F2E4FC

Accessibility & contrast

On white

2.89
#C07AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#C07AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07AEF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07AEF#FFFFFF#000000##000000
##C07AEF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#BA8DA9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c07aef;
/* rgb */ color: rgb(192, 122, 239);
/* oklch */ color: oklch(69.9% 0.177 310.2);
Tailwind
colors: {
  custom: {
    50: '#d5a2f5',
    500: '#c07aef',
    950: '#000000',
  },
}
SCSS
$custom: #c07aef;
$custom-light: #d5a2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#c07aef",
  "rgb": {
    "r": 192,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 275.897,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.69924,
    "c": 0.17745,
    "h": 310.2
  },
  "luminance": 0.31358
}

Semantic roles & 50–950 ramp

primary
#C07AEF
secondary
#DFF2D3
accent
#DB0B5E
background
#FDFAFF
surface
#FAF4FE
border
#D3CED6
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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