#A262F1#A262F1

#A262F1 is a light, highly saturated violet. Relative luminance 0.228; OKLCH L 63.4% C 0.208 H 301.3°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#A262F1
RGBrgb(162, 98, 241)
HSLhsl(267, 84%, 66%)
HSVhsv(267, 59%, 95%)
CMYKcmyk(32.8%, 59.3%, 0%, 5.5%)
CIE-LABlab(54.83, 53.55, -62.57)
CIE-LCHlch(54.83, 82.36, 310.56°)
OKLaboklab(63.35% 0.1079 -0.1774)
OKLCHoklch(63.35% 0.208 301.3)
XYZxyz(35.1414, 22.7675, 85.7452)
Luminance0.2277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262F1 #B1F162
analogous
#626AF1 #A262F1 #EA62F1
triadic
#A262F1 #F1A262 #62F1A2
tetradic
#A262F1 #F1626A #B1F162 #62F1EA
square
#A262F1 #F1626A #B1F162 #62F1EA
split-complementary
#A262F1 #F1EA62 #6AF162
monochromatic
#6312C7 #812AEC #A262F1 #C39AF6 #E5D2FB

Accessibility & contrast

On white

3.78
#A262F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#A262F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262F1
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262F1#FFFFFF#000000##000000
##A262F11.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B82F6
Deuteranopia (green-blind)
#3682EE
Tritanopia (blue-blind)
#9280A0
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a262f1;
/* rgb */ color: rgb(162, 98, 241);
/* oklch */ color: oklch(63.4% 0.208 301.3);
Tailwind
colors: {
  custom: {
    50: '#c291f6',
    500: '#a262f1',
    950: '#000000',
  },
}
SCSS
$custom: #a262f1;
$custom-light: #c291f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a262f1",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 241
  },
  "hsl": {
    "h": 266.853,
    "s": 83.626,
    "l": 66.471
  },
  "oklch": {
    "l": 0.63351,
    "c": 0.20761,
    "h": 301.3
  },
  "luminance": 0.22768
}

Semantic roles & 50–950 ramp

primary
#A262F1
secondary
#DAEFC0
accent
#E0057E
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262F1

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

Preview Lab → · Contrast checker → · Palette generator →

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