#A262CD#A262CD

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

Color values

HEX#A262CD
RGBrgb(162, 98, 205)
HSLhsl(276, 52%, 59%)
HSVhsv(276, 52%, 80%)
CMYKcmyk(21%, 52.2%, 0%, 19.6%)
CIE-LABlab(52.76, 45.14, -45.58)
CIE-LCHlch(52.76, 64.15, 314.72°)
OKLaboklab(61.16% 0.107 -0.1276)
OKLCHoklch(61.16% 0.167 310)
XYZxyz(30.2853, 20.8250, 60.1700)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262CD #8DCD62
analogous
#6D62CD #A262CD #CD62C3
triadic
#A262CD #CDA262 #62CDA2
tetradic
#A262CD #CD6D62 #8DCD62 #62C3CD
square
#A262CD #CD6D62 #8DCD62 #62C3CD
split-complementary
#A262CD #C3CD62 #62CD6D
monochromatic
#632C89 #853AB7 #A262CD #BD90DC #D9BFEB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A262CD#FFFFFF#000000##000000
##A262CD1.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)
#447BD1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#9D748E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a262cd;
/* rgb */ color: rgb(162, 98, 205);
/* oklch */ color: oklch(61.2% 0.167 310.0);
Tailwind
colors: {
  custom: {
    50: '#c091dd',
    500: '#a262cd',
    950: '#000000',
  },
}
SCSS
$custom: #a262cd;
$custom-light: #c091dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a262cd",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 205
  },
  "hsl": {
    "h": 275.888,
    "s": 51.691,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6116,
    "c": 0.1665,
    "h": 310
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#A262CD
secondary
#C1DAB1
accent
#DB4D86
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A262CD

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

Preview Lab → · Contrast checker → · Palette generator →

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