#A262DA#A262DA

#A262DA is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.9% C 0.181 H 306.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A262DA
RGBrgb(162, 98, 218)
HSLhsl(272, 62%, 62%)
HSVhsv(272, 55%, 85%)
CMYKcmyk(25.7%, 55%, 0%, 14.5%)
CIE-LABlab(53.47, 48.11, -51.83)
CIE-LCHlch(53.47, 70.72, 312.87°)
OKLaboklab(61.92% 0.1078 -0.1459)
OKLCHoklch(61.92% 0.181 306.5)
XYZxyz(31.9202, 21.4790, 68.7803)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262DA #9ADA62
analogous
#6662DA #A262DA #DA62D6
triadic
#A262DA #DAA262 #62DAA2
tetradic
#A262DA #DA6662 #9ADA62 #62D6DA
square
#A262DA #DA6662 #9ADA62 #62D6DA
split-complementary
#A262DA #D6DA62 #62DA66
monochromatic
#65259D #8531CE #A262DA #BF94E6 #DDC5F1

Accessibility & contrast

On white

3.97
#A262DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A262DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262DA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262DA#FFFFFF#000000##000000
##A262DA1.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#387EDE
Deuteranopia (green-blind)
#4F80D7
Tritanopia (blue-blind)
#997895
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a262da;
/* rgb */ color: rgb(162, 98, 218);
/* oklch */ color: oklch(61.9% 0.181 306.5);
Tailwind
colors: {
  custom: {
    50: '#c191e6',
    500: '#a262da',
    950: '#000000',
  },
}
SCSS
$custom: #a262da;
$custom-light: #c191e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a262da",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 218
  },
  "hsl": {
    "h": 272,
    "s": 61.856,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61916,
    "c": 0.18136,
    "h": 306.5
  },
  "luminance": 0.21479
}

Semantic roles & 50–950 ramp

primary
#A262DA
secondary
#CAE2B6
accent
#CA1C6D
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262DA

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

Preview Lab → · Contrast checker → · Palette generator →

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