#A262CC#A262CC

#A262CC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.165 H 310.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A262CC
RGBrgb(162, 98, 204)
HSLhsl(276, 51%, 59%)
HSVhsv(276, 52%, 80%)
CMYKcmyk(20.6%, 52%, 0%, 20%)
CIE-LABlab(52.70, 44.92, -45.09)
CIE-LCHlch(52.70, 63.64, 314.89°)
OKLaboklab(61.1% 0.1069 -0.1262)
OKLCHoklch(61.1% 0.165 310.3)
XYZxyz(30.1650, 20.7769, 59.5363)
Luminance0.2078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262CC #8CCC62
analogous
#6D62CC #A262CC #CC62C1
triadic
#A262CC #CCA262 #62CCA2
tetradic
#A262CC #CC6D62 #8CCC62 #62C1CC
square
#A262CC #CC6D62 #8CCC62 #62C1CC
split-complementary
#A262CC #C1CC62 #62CC6D
monochromatic
#632C88 #853BB6 #A262CC #BD90DB #D9BEEA

Accessibility & contrast

On white

4.07
#A262CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A262CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262CC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262CC#FFFFFF#000000##000000
##A262CC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#457BD0
Deuteranopia (green-blind)
#597FC9
Tritanopia (blue-blind)
#9D748E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a262cc;
/* rgb */ color: rgb(162, 98, 204);
/* oklch */ color: oklch(61.1% 0.165 310.3);
Tailwind
colors: {
  custom: {
    50: '#c091dc',
    500: '#a262cc',
    950: '#000000',
  },
}
SCSS
$custom: #a262cc;
$custom-light: #c091dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a262cc",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 276.226,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.16536,
    "h": 310.3
  },
  "luminance": 0.20776
}

Semantic roles & 50–950 ramp

primary
#A262CC
secondary
#C1DAB0
accent
#DA4D85
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A262CC

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

Preview Lab → · Contrast checker → · Palette generator →

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