#A262DB#A262DB

#A262DB is a mid, vivid violet. Relative luminance 0.215; OKLCH L 62.0% C 0.182 H 306.2°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#A262DB
RGBrgb(162, 98, 219)
HSLhsl(272, 63%, 62%)
HSVhsv(272, 55%, 86%)
CMYKcmyk(26%, 55.3%, 0%, 14.1%)
CIE-LABlab(53.53, 48.34, -52.31)
CIE-LCHlch(53.53, 71.22, 312.74°)
OKLaboklab(61.98% 0.1078 -0.1473)
OKLCHoklch(61.98% 0.183 306.2)
XYZxyz(32.0515, 21.5315, 69.4716)
Luminance0.2153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262DB #9BDB62
analogous
#6662DB #A262DB #DB62D7
triadic
#A262DB #DBA262 #62DBA2
tetradic
#A262DB #DB6662 #9BDB62 #62D7DB
square
#A262DB #DB6662 #9BDB62 #62D7DB
split-complementary
#A262DB #D7DB62 #62DB66
monochromatic
#65249E #8530D0 #A262DB #BF94E6 #DDC6F2

Accessibility & contrast

On white

3.96
#A262DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#A262DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262DB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262DB#FFFFFF#000000##000000
##A262DB1.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#377EDF
Deuteranopia (green-blind)
#4E80D8
Tritanopia (blue-blind)
#997995
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a262db;
/* rgb */ color: rgb(162, 98, 219);
/* oklch */ color: oklch(62.0% 0.182 306.2);
Tailwind
colors: {
  custom: {
    50: '#c191e7',
    500: '#a262db',
    950: '#000000',
  },
}
SCSS
$custom: #a262db;
$custom-light: #c191e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a262db",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 271.736,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61976,
    "c": 0.1825,
    "h": 306.2
  },
  "luminance": 0.21531
}

Semantic roles & 50–950 ramp

primary
#A262DB
secondary
#CBE3B6
accent
#CA1B6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262DB

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

Preview Lab → · Contrast checker → · Palette generator →

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