#A462F2#A462F2

#A462F2 is a light, highly saturated violet. Relative luminance 0.230; OKLCH L 63.6% C 0.209 H 301.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#A462F2
RGBrgb(164, 98, 242)
HSLhsl(268, 85%, 67%)
HSVhsv(268, 60%, 95%)
CMYKcmyk(32.2%, 59.5%, 0%, 5.1%)
CIE-LABlab(55.11, 54.24, -62.66)
CIE-LCHlch(55.11, 82.88, 310.88°)
OKLaboklab(63.62% 0.1104 -0.1776)
OKLCHoklch(63.62% 0.209 301.9)
XYZxyz(35.7008, 23.0386, 86.5532)
Luminance0.2304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A462F2 #B0F262
analogous
#6268F2 #A462F2 #EC62F2
triadic
#A462F2 #F2A462 #62F2A4
tetradic
#A462F2 #F26268 #B0F262 #62F2EC
square
#A462F2 #F26268 #B0F262 #62F2EC
split-complementary
#A462F2 #F2EC62 #68F262
monochromatic
#6511C9 #8329ED #A462F2 #C59BF7 #E6D3FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A462F2#FFFFFF#000000##000000
##A462F21.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)
#0B83F7
Deuteranopia (green-blind)
#3883EF
Tritanopia (blue-blind)
#9480A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a462f2;
/* rgb */ color: rgb(164, 98, 242);
/* oklch */ color: oklch(63.6% 0.209 301.9);
Tailwind
colors: {
  custom: {
    50: '#c391f7',
    500: '#a462f2',
    950: '#000000',
  },
}
SCSS
$custom: #a462f2;
$custom-light: #c391f7;
$custom-dark: #000000;
JSON
{
  "hex": "#a462f2",
  "rgb": {
    "r": 164,
    "g": 98,
    "b": 242
  },
  "hsl": {
    "h": 267.5,
    "s": 84.706,
    "l": 66.667
  },
  "oklch": {
    "l": 0.63624,
    "c": 0.20911,
    "h": 301.9
  },
  "luminance": 0.23039
}

Semantic roles & 50–950 ramp

primary
#A462F2
secondary
#DAEFC1
accent
#E1047C
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A462F2

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

Preview Lab → · Contrast checker → · Palette generator →

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