#A062CB#A062CB

#A062CB is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.164 H 309.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A062CB
RGBrgb(160, 98, 203)
HSLhsl(275, 50%, 59%)
HSVhsv(275, 52%, 80%)
CMYKcmyk(21.2%, 51.7%, 0%, 20.4%)
CIE-LABlab(52.42, 44.15, -44.98)
CIE-LCHlch(52.42, 63.03, 314.47°)
OKLaboklab(60.83% 0.1043 -0.1259)
OKLCHoklch(60.83% 0.164 309.6)
XYZxyz(29.6423, 20.5212, 58.8878)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062CB #8DCB62
analogous
#6C62CB #A062CB #CB62C1
triadic
#A062CB #CBA062 #62CBA0
tetradic
#A062CB #CB6C62 #8DCB62 #62C1CB
square
#A062CB #CB6C62 #8DCB62 #62C1CB
split-complementary
#A062CB #C1CB62 #62CB6C
monochromatic
#612C86 #833CB4 #A062CB #BC90DA #D8BEE9

Accessibility & contrast

On white

4.11
#A062CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A062CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062CB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062CB#FFFFFF#000000##000000
##A062CB1.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#457ACF
Deuteranopia (green-blind)
#587EC8
Tritanopia (blue-blind)
#9A748D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a062cb;
/* rgb */ color: rgb(160, 98, 203);
/* oklch */ color: oklch(60.8% 0.164 309.6);
Tailwind
colors: {
  custom: {
    50: '#be91db',
    500: '#a062cb',
    950: '#000000',
  },
}
SCSS
$custom: #a062cb;
$custom-light: #be91db;
$custom-dark: #000000;
JSON
{
  "hex": "#a062cb",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 275.429,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60826,
    "c": 0.16351,
    "h": 309.6
  },
  "luminance": 0.20521
}

Semantic roles & 50–950 ramp

primary
#A062CB
secondary
#C1D9B0
accent
#DA4E87
background
#FBF9FD
surface
#F7F1FB
border
#D0CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A062CB

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

Preview Lab → · Contrast checker → · Palette generator →

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