#A262D2#A262D2

#A262D2 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.172 H 308.6°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A262D2
RGBrgb(162, 98, 210)
HSLhsl(274, 55%, 60%)
HSVhsv(274, 53%, 82%)
CMYKcmyk(22.9%, 53.3%, 0%, 17.6%)
CIE-LABlab(53.03, 46.27, -48.00)
CIE-LCHlch(53.03, 66.67, 313.95°)
OKLaboklab(61.45% 0.1073 -0.1347)
OKLCHoklch(61.45% 0.172 308.6)
XYZxyz(30.8986, 21.0703, 63.3995)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262D2 #92D262
analogous
#6A62D2 #A262D2 #D262CA
triadic
#A262D2 #D2A262 #62D2A2
tetradic
#A262D2 #D26A62 #92D262 #62CAD2
square
#A262D2 #D26A62 #92D262 #62CAD2
split-complementary
#A262D2 #CAD262 #62D26A
monochromatic
#642990 #8537C0 #A262D2 #BE92E0 #DAC1ED

Accessibility & contrast

On white

4.03
#A262D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A262D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262D2
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262D2#FFFFFF#000000##000000
##A262D21.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#407CD6
Deuteranopia (green-blind)
#557FCF
Tritanopia (blue-blind)
#9B7691
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a262d2;
/* rgb */ color: rgb(162, 98, 210);
/* oklch */ color: oklch(61.4% 0.172 308.6);
Tailwind
colors: {
  custom: {
    50: '#c091e0',
    500: '#a262d2',
    950: '#000000',
  },
}
SCSS
$custom: #a262d2;
$custom-light: #c091e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a262d2",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 210
  },
  "hsl": {
    "h": 274.286,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61446,
    "c": 0.17221,
    "h": 308.6
  },
  "luminance": 0.2107
}

Semantic roles & 50–950 ramp

primary
#A262D2
secondary
#C5DDB3
accent
#C32367
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#130D15
muted
#827E83

Preview Lab

Preview with #A262D2

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

Preview Lab → · Contrast checker → · Palette generator →

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