#A262C2#A262C2

#A262C2 is a mid, vivid purple. Relative luminance 0.203; OKLCH L 60.6% C 0.154 H 313.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A262C2
RGBrgb(162, 98, 194)
HSLhsl(280, 44%, 57%)
HSVhsv(280, 49%, 76%)
CMYKcmyk(16.5%, 49.5%, 0%, 23.9%)
CIE-LABlab(52.19, 42.71, -40.18)
CIE-LCHlch(52.19, 58.63, 316.75°)
OKLaboklab(60.55% 0.1058 -0.1119)
OKLCHoklch(60.55% 0.154 313.4)
XYZxyz(29.0040, 20.3125, 53.4213)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262C2 #82C262
analogous
#7262C2 #A262C2 #C262B2
triadic
#A262C2 #C2A262 #62C2A2
tetradic
#A262C2 #C27262 #82C262 #62B2C2
square
#A262C2 #C27262 #82C262 #62B2C2
split-complementary
#A262C2 #B2C262 #62C272
monochromatic
#612F7A #8441A6 #A262C2 #BC8ED3 #D6BAE4

Accessibility & contrast

On white

4.15
#A262C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A262C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262C2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262C2#FFFFFF#000000##000000
##A262C21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#9F7189
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a262c2;
/* rgb */ color: rgb(162, 98, 194);
/* oklch */ color: oklch(60.6% 0.154 313.4);
Tailwind
colors: {
  custom: {
    50: '#bf90d5',
    500: '#a262c2',
    950: '#000000',
  },
}
SCSS
$custom: #a262c2;
$custom-light: #bf90d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a262c2",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 44.037,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.15401,
    "h": 313.4
  },
  "luminance": 0.20312
}

Semantic roles & 50–950 ramp

primary
#A262C2
secondary
#B9D3AC
accent
#D4547F
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A262C2

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

Preview Lab → · Contrast checker → · Palette generator →

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