#A262F6#A262F6

#A262F6 is a light, highly saturated violet. Relative luminance 0.231; OKLCH L 63.7% C 0.213 H 300.3°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A262F6
RGBrgb(162, 98, 246)
HSLhsl(266, 89%, 67%)
HSVhsv(266, 60%, 96%)
CMYKcmyk(34.1%, 60.2%, 0%, 3.5%)
CIE-LABlab(55.14, 54.77, -64.85)
CIE-LCHlch(55.14, 84.88, 310.18°)
OKLaboklab(63.68% 0.1077 -0.1841)
OKLCHoklch(63.68% 0.213 300.3)
XYZxyz(35.8985, 23.0703, 89.7326)
Luminance0.2307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262F6 #B6F662
analogous
#626CF6 #A262F6 #EC62F6
triadic
#A262F6 #F6A262 #62F6A2
tetradic
#A262F6 #F6626C #B6F662 #62F6EC
square
#A262F6 #F6626C #B6F662 #62F6EC
split-complementary
#A262F6 #F6EC62 #6CF662
monochromatic
#610CD2 #8028F3 #A262F6 #C49CF9 #E7D6FD

Accessibility & contrast

On white

3.74
#A262F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#A262F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262F6
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262F6#FFFFFF#000000##000000
##A262F61.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#2E83F3
Tritanopia (blue-blind)
#9082A3
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a262f6;
/* rgb */ color: rgb(162, 98, 246);
/* oklch */ color: oklch(63.7% 0.213 300.3);
Tailwind
colors: {
  custom: {
    50: '#c291fa',
    500: '#a262f6',
    950: '#000000',
  },
}
SCSS
$custom: #a262f6;
$custom-light: #c291fa;
$custom-dark: #000000;
JSON
{
  "hex": "#a262f6",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 246
  },
  "hsl": {
    "h": 265.946,
    "s": 89.157,
    "l": 67.451
  },
  "oklch": {
    "l": 0.63679,
    "c": 0.21327,
    "h": 300.3
  },
  "luminance": 0.23071
}

Semantic roles & 50–950 ramp

primary
#A262F6
secondary
#DDF1C3
accent
#E60082
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262F6

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

Preview Lab → · Contrast checker → · Palette generator →

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