#A262D4#A262D4

#A262D4 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.6% C 0.174 H 308.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A262D4
RGBrgb(162, 98, 212)
HSLhsl(274, 57%, 61%)
HSVhsv(274, 54%, 83%)
CMYKcmyk(23.6%, 53.8%, 0%, 16.9%)
CIE-LABlab(53.14, 46.73, -48.96)
CIE-LCHlch(53.14, 67.68, 313.66°)
OKLaboklab(61.56% 0.1075 -0.1375)
OKLCHoklch(61.56% 0.174 308)
XYZxyz(31.1493, 21.1706, 64.7200)
Luminance0.2117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262D4 #94D462
analogous
#6962D4 #A262D4 #D462CD
triadic
#A262D4 #D4A262 #62D4A2
tetradic
#A262D4 #D46962 #94D462 #62CDD4
square
#A262D4 #D46962 #94D462 #62CDD4
split-complementary
#A262D4 #CDD462 #62D469
monochromatic
#642893 #8535C3 #A262D4 #BE92E1 #DBC2EE

Accessibility & contrast

On white

4.01
#A262D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A262D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262D4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262D4#FFFFFF#000000##000000
##A262D41.004.015.235.23
#FFFFFF4.011.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E7CD8
Deuteranopia (green-blind)
#5480D1
Tritanopia (blue-blind)
#9B7692
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a262d4;
/* rgb */ color: rgb(162, 98, 212);
/* oklch */ color: oklch(61.6% 0.174 308.0);
Tailwind
colors: {
  custom: {
    50: '#c091e2',
    500: '#a262d4',
    950: '#000000',
  },
}
SCSS
$custom: #a262d4;
$custom-light: #c091e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a262d4",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 273.684,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.61562,
    "c": 0.17449,
    "h": 308
  },
  "luminance": 0.2117
}

Semantic roles & 50–950 ramp

primary
#A262D4
secondary
#C6DEB3
accent
#C52169
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A262D4

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

Preview Lab → · Contrast checker → · Palette generator →

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