#A262F4#A262F4

#A262F4 is a light, highly saturated violet. Relative luminance 0.229; OKLCH L 63.5% C 0.211 H 300.7°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#A262F4
RGBrgb(162, 98, 244)
HSLhsl(266, 87%, 67%)
HSVhsv(266, 60%, 96%)
CMYKcmyk(33.6%, 59.8%, 0%, 4.3%)
CIE-LABlab(55.02, 54.28, -63.94)
CIE-LCHlch(55.02, 83.87, 310.33°)
OKLaboklab(63.55% 0.1078 -0.1814)
OKLCHoklch(63.55% 0.211 300.7)
XYZxyz(35.5932, 22.9482, 88.1247)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262F4 #B4F462
analogous
#626BF4 #A262F4 #EB62F4
triadic
#A262F4 #F4A262 #62F4A2
tetradic
#A262F4 #F4626B #B4F462 #62F4EB
square
#A262F4 #F4626B #B4F462 #62F4EB
split-complementary
#A262F4 #F4EB62 #6BF462
monochromatic
#620ECD #8029F0 #A262F4 #C49BF8 #E6D4FC

Accessibility & contrast

On white

3.76
#A262F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#A262F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262F4
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262F4#FFFFFF#000000##000000
##A262F41.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083F9
Deuteranopia (green-blind)
#3283F1
Tritanopia (blue-blind)
#9181A2
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a262f4;
/* rgb */ color: rgb(162, 98, 244);
/* oklch */ color: oklch(63.5% 0.211 300.7);
Tailwind
colors: {
  custom: {
    50: '#c291f8',
    500: '#a262f4',
    950: '#000000',
  },
}
SCSS
$custom: #a262f4;
$custom-light: #c291f8;
$custom-dark: #000000;
JSON
{
  "hex": "#a262f4",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 244
  },
  "hsl": {
    "h": 266.301,
    "s": 86.905,
    "l": 67.059
  },
  "oklch": {
    "l": 0.63547,
    "c": 0.21101,
    "h": 300.7
  },
  "luminance": 0.22948
}

Semantic roles & 50–950 ramp

primary
#A262F4
secondary
#DCF0C2
accent
#E30281
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262F4

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

Preview Lab → · Contrast checker → · Palette generator →

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