#A262F8#A262F8

#A262F8 is a light, highly saturated violet. Relative luminance 0.232; OKLCH L 63.8% C 0.216 H 300.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#A262F8
RGBrgb(162, 98, 248)
HSLhsl(266, 91%, 68%)
HSVhsv(266, 60%, 97%)
CMYKcmyk(34.7%, 60.5%, 0%, 2.7%)
CIE-LABlab(55.27, 55.25, -65.75)
CIE-LCHlch(55.27, 85.89, 310.04°)
OKLaboklab(63.81% 0.1077 -0.1867)
OKLCHoklch(63.81% 0.216 300)
XYZxyz(36.2071, 23.1938, 91.3580)
Luminance0.2319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262F8 #B8F862
analogous
#626DF8 #A262F8 #ED62F8
triadic
#A262F8 #F8A262 #62F8A2
tetradic
#A262F8 #F8626D #B8F862 #62F8ED
square
#A262F8 #F8626D #B8F862 #62F8ED
split-complementary
#A262F8 #F8ED62 #6DF862
monochromatic
#610AD6 #7F27F5 #A262F8 #C59DFB #E7D7FD

Accessibility & contrast

On white

3.72
#A262F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#A262F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262F8
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262F8#FFFFFF#000000##000000
##A262F81.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FD
Deuteranopia (green-blind)
#2B83F5
Tritanopia (blue-blind)
#8F82A4
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #a262f8;
/* rgb */ color: rgb(162, 98, 248);
/* oklch */ color: oklch(63.8% 0.216 300.0);
Tailwind
colors: {
  custom: {
    50: '#c291fb',
    500: '#a262f8',
    950: '#000000',
  },
}
SCSS
$custom: #a262f8;
$custom-light: #c291fb;
$custom-dark: #000000;
JSON
{
  "hex": "#a262f8",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 248
  },
  "hsl": {
    "h": 265.6,
    "s": 91.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.63811,
    "c": 0.21553,
    "h": 300
  },
  "luminance": 0.23194
}

Semantic roles & 50–950 ramp

primary
#A262F8
secondary
#DEF2C4
accent
#E60084
background
#FCF9FF
surface
#F8F1FF
border
#D1CBD7
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262F8

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

Preview Lab → · Contrast checker → · Palette generator →

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