#A262F0#A262F0

#A262F0 is a light, highly saturated violet. Relative luminance 0.227; OKLCH L 63.3% C 0.206 H 301.5°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#A262F0
RGBrgb(162, 98, 240)
HSLhsl(267, 83%, 66%)
HSVhsv(267, 59%, 94%)
CMYKcmyk(32.5%, 59.2%, 0%, 5.9%)
CIE-LABlab(54.77, 53.31, -62.11)
CIE-LCHlch(54.77, 81.85, 310.64°)
OKLaboklab(63.29% 0.1079 -0.176)
OKLCHoklch(63.29% 0.206 301.5)
XYZxyz(34.9925, 22.7079, 84.9607)
Luminance0.2271 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262F0 #B0F062
analogous
#6269F0 #A262F0 #E962F0
triadic
#A262F0 #F0A262 #62F0A2
tetradic
#A262F0 #F06269 #B0F062 #62F0E9
square
#A262F0 #F06269 #B0F062 #62F0E9
split-complementary
#A262F0 #F0E962 #69F062
monochromatic
#6313C5 #812AEB #A262F0 #C39AF5 #E4D2FB

Accessibility & contrast

On white

3.79
#A262F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#A262F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262F0
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262F0#FFFFFF#000000##000000
##A262F01.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1082F5
Deuteranopia (green-blind)
#3882ED
Tritanopia (blue-blind)
#927FA0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a262f0;
/* rgb */ color: rgb(162, 98, 240);
/* oklch */ color: oklch(63.3% 0.206 301.5);
Tailwind
colors: {
  custom: {
    50: '#c291f6',
    500: '#a262f0',
    950: '#000000',
  },
}
SCSS
$custom: #a262f0;
$custom-light: #c291f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a262f0",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 240
  },
  "hsl": {
    "h": 267.042,
    "s": 82.558,
    "l": 66.275
  },
  "oklch": {
    "l": 0.63286,
    "c": 0.20647,
    "h": 301.5
  },
  "luminance": 0.22708
}

Semantic roles & 50–950 ramp

primary
#A262F0
secondary
#D9EEC0
accent
#DF077D
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262F0

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

Preview Lab → · Contrast checker → · Palette generator →

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