#A262CE#A262CE

#A262CE is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.168 H 309.7°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A262CE
RGBrgb(162, 98, 206)
HSLhsl(276, 52%, 60%)
HSVhsv(276, 52%, 81%)
CMYKcmyk(21.4%, 52.4%, 0%, 19.2%)
CIE-LABlab(52.81, 45.36, -46.06)
CIE-LCHlch(52.81, 64.65, 314.56°)
OKLaboklab(61.22% 0.107 -0.129)
OKLCHoklch(61.22% 0.168 309.7)
XYZxyz(30.4064, 20.8735, 60.8077)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262CE #8ECE62
analogous
#6C62CE #A262CE #CE62C4
triadic
#A262CE #CEA262 #62CEA2
tetradic
#A262CE #CE6C62 #8ECE62 #62C4CE
square
#A262CE #CE6C62 #8ECE62 #62C4CE
split-complementary
#A262CE #C4CE62 #62CE6C
monochromatic
#642B8A #853AB9 #A262CE #BE91DD #D9BFEB

Accessibility & contrast

On white

4.06
#A262CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A262CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262CE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262CE#FFFFFF#000000##000000
##A262CE1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#447BD2
Deuteranopia (green-blind)
#587FCB
Tritanopia (blue-blind)
#9C758F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a262ce;
/* rgb */ color: rgb(162, 98, 206);
/* oklch */ color: oklch(61.2% 0.168 309.7);
Tailwind
colors: {
  custom: {
    50: '#c091dd',
    500: '#a262ce',
    950: '#000000',
  },
}
SCSS
$custom: #a262ce;
$custom-light: #c091dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a262ce",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 206
  },
  "hsl": {
    "h": 275.556,
    "s": 52.427,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61217,
    "c": 0.16764,
    "h": 309.7
  },
  "luminance": 0.20873
}

Semantic roles & 50–950 ramp

primary
#A262CE
secondary
#C2DBB1
accent
#DC4C87
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A262CE

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

Preview Lab → · Contrast checker → · Palette generator →

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