#A062CF#A062CF

#A062CF is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.1% C 0.168 H 308.5°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A062CF
RGBrgb(160, 98, 207)
HSLhsl(274, 53%, 60%)
HSVhsv(274, 53%, 81%)
CMYKcmyk(22.7%, 52.7%, 0%, 18.8%)
CIE-LABlab(52.64, 45.06, -46.92)
CIE-LCHlch(52.64, 65.06, 313.84°)
OKLaboklab(61.05% 0.1046 -0.1316)
OKLCHoklch(61.05% 0.168 308.5)
XYZxyz(30.1252, 20.7144, 61.4307)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A062CF #91CF62
analogous
#6962CF #A062CF #CF62C8
triadic
#A062CF #CFA062 #62CFA0
tetradic
#A062CF #CF6962 #91CF62 #62C8CF
square
#A062CF #CF6962 #91CF62 #62C8CF
split-complementary
#A062CF #C8CF62 #62CF69
monochromatic
#622B8C #8339BB #A062CF #BC91DD #D9C0EC

Accessibility & contrast

On white

4.08
#A062CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A062CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A062CF
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A062CF#FFFFFF#000000##000000
##A062CF1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#427BD3
Deuteranopia (green-blind)
#567ECC
Tritanopia (blue-blind)
#99758F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a062cf;
/* rgb */ color: rgb(160, 98, 207);
/* oklch */ color: oklch(61.1% 0.168 308.5);
Tailwind
colors: {
  custom: {
    50: '#bf91de',
    500: '#a062cf',
    950: '#000000',
  },
}
SCSS
$custom: #a062cf;
$custom-light: #bf91de;
$custom-dark: #000000;
JSON
{
  "hex": "#a062cf",
  "rgb": {
    "r": 160,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 274.128,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61054,
    "c": 0.16812,
    "h": 308.5
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

primary
#A062CF
secondary
#C4DBB1
accent
#DD4B8A
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A062CF

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

Preview Lab → · Contrast checker → · Palette generator →

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