#C07AEC#C07AEC

#C07AEC is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.8% C 0.174 H 311.0°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#C07AEC
RGBrgb(192, 122, 236)
HSLhsl(277, 75%, 70%)
HSVhsv(277, 48%, 93%)
CMYKcmyk(18.6%, 48.3%, 0%, 7.5%)
CIE-LABlab(62.66, 47.25, -47.11)
CIE-LCHlch(62.66, 66.72, 315.08°)
OKLaboklab(69.77% 0.1142 -0.1314)
OKLCHoklch(69.77% 0.174 311)
XYZxyz(43.8353, 31.1825, 83.0502)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C07AEC #A6EC7A
analogous
#877AEC #C07AEC #EC7ADF
triadic
#C07AEC #ECC07A #7AECC0
tetradic
#C07AEC #EC877A #A6EC7A #7ADFEC
square
#C07AEC #EC877A #A6EC7A #7ADFEC
split-complementary
#C07AEC #DFEC7A #7AEC87
monochromatic
#8A1DCE #A744E4 #C07AEC #D9B0F4 #F2E4FB

Accessibility & contrast

On white

2.90
#C07AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#C07AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C07AEC
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C07AEC#FFFFFF#000000##000000
##C07AEC1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F94F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#BB8CA8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c07aec;
/* rgb */ color: rgb(192, 122, 236);
/* oklch */ color: oklch(69.8% 0.174 311.0);
Tailwind
colors: {
  custom: {
    50: '#d5a2f2',
    500: '#c07aec',
    950: '#000000',
  },
}
SCSS
$custom: #c07aec;
$custom-light: #d5a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c07aec",
  "rgb": {
    "r": 192,
    "g": 122,
    "b": 236
  },
  "hsl": {
    "h": 276.842,
    "s": 75,
    "l": 70.196
  },
  "oklch": {
    "l": 0.69766,
    "c": 0.17407,
    "h": 311
  },
  "luminance": 0.31182
}

Semantic roles & 50–950 ramp

primary
#C07AEC
secondary
#DDF1D1
accent
#D70E5C
background
#FDFAFE
surface
#FAF4FD
border
#D3CED5
text
#140F17
muted
#837F85

Preview Lab

Preview with #C07AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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