#A262CF#A262CF

#A262CF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.3% C 0.169 H 309.4°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A262CF
RGBrgb(162, 98, 207)
HSLhsl(275, 53%, 60%)
HSVhsv(275, 53%, 81%)
CMYKcmyk(21.7%, 52.7%, 0%, 18.8%)
CIE-LABlab(52.86, 45.59, -46.55)
CIE-LCHlch(52.86, 65.15, 314.41°)
OKLaboklab(61.27% 0.1071 -0.1304)
OKLCHoklch(61.27% 0.169 309.4)
XYZxyz(30.5283, 20.9222, 61.4496)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262CF #8FCF62
analogous
#6B62CF #A262CF #CF62C6
triadic
#A262CF #CFA262 #62CFA2
tetradic
#A262CF #CF6B62 #8FCF62 #62C6CF
square
#A262CF #CF6B62 #8FCF62 #62C6CF
split-complementary
#A262CF #C6CF62 #62CF6B
monochromatic
#642B8C #8539BB #A262CF #BE91DD #DAC0EC

Accessibility & contrast

On white

4.05
#A262CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A262CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262CF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262CF#FFFFFF#000000##000000
##A262CF1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#437BD3
Deuteranopia (green-blind)
#577FCC
Tritanopia (blue-blind)
#9C758F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a262cf;
/* rgb */ color: rgb(162, 98, 207);
/* oklch */ color: oklch(61.3% 0.169 309.4);
Tailwind
colors: {
  custom: {
    50: '#c091de',
    500: '#a262cf',
    950: '#000000',
  },
}
SCSS
$custom: #a262cf;
$custom-light: #c091de;
$custom-dark: #000000;
JSON
{
  "hex": "#a262cf",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 207
  },
  "hsl": {
    "h": 275.229,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.61274,
    "c": 0.16878,
    "h": 309.4
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#A262CF
secondary
#C3DBB1
accent
#DD4B87
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A262CF

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

Preview Lab → · Contrast checker → · Palette generator →

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