#C07AEB#C07AEB

#C07AEB is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.7% C 0.173 H 311.2°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#C07AEB
RGBrgb(192, 122, 235)
HSLhsl(277, 74%, 70%)
HSVhsv(277, 48%, 92%)
CMYKcmyk(18.3%, 48.1%, 0%, 7.8%)
CIE-LABlab(62.61, 47.03, -46.64)
CIE-LCHlch(62.61, 66.23, 315.24°)
OKLaboklab(69.71% 0.114 -0.13)
OKLCHoklch(69.71% 0.173 311.2)
XYZxyz(43.6905, 31.1245, 82.2872)
Luminance0.3112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07AEB #A5EB7A
analogous
#877AEB #C07AEB #EB7ADE
triadic
#C07AEB #EBC07A #7AEBC0
tetradic
#C07AEB #EB877A #A5EB7A #7ADEEB
square
#C07AEB #EB877A #A5EB7A #7ADEEB
split-complementary
#C07AEB #DEEB7A #7AEB87
monochromatic
#8A1FCC #A745E3 #C07AEB #D9AFF3 #F2E4FB

Accessibility & contrast

On white

2.91
#C07AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#C07AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07AEB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07AEB#FFFFFF#000000##000000
##C07AEB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94EF
Deuteranopia (green-blind)
#7399E8
Tritanopia (blue-blind)
#BB8CA8
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #c07aeb;
/* rgb */ color: rgb(192, 122, 235);
/* oklch */ color: oklch(69.7% 0.173 311.2);
Tailwind
colors: {
  custom: {
    50: '#d5a2f2',
    500: '#c07aeb',
    950: '#000000',
  },
}
SCSS
$custom: #c07aeb;
$custom-light: #d5a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c07aeb",
  "rgb": {
    "r": 192,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 277.168,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.69714,
    "c": 0.17295,
    "h": 311.2
  },
  "luminance": 0.31124
}

Semantic roles & 50–950 ramp

primary
#C07AEB
secondary
#DDF0D1
accent
#D6105B
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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