#A262E7#A262E7

#A262E7 is a light, vivid violet. Relative luminance 0.222; OKLCH L 62.7% C 0.196 H 303.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#A262E7
RGBrgb(162, 98, 231)
HSLhsl(269, 73%, 65%)
HSVhsv(269, 58%, 91%)
CMYKcmyk(29.9%, 57.6%, 0%, 9.4%)
CIE-LABlab(54.22, 51.16, -57.95)
CIE-LCHlch(54.22, 77.30, 311.44°)
OKLaboklab(62.71% 0.108 -0.1638)
OKLCHoklch(62.71% 0.196 303.4)
XYZxyz(33.6885, 22.1863, 78.0934)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262E7 #A7E762
analogous
#6265E7 #A262E7 #E562E7
triadic
#A262E7 #E7A262 #62E7A2
tetradic
#A262E7 #E76265 #A7E762 #62E7E5
square
#A262E7 #E76265 #A7E762 #62E7E5
split-complementary
#A262E7 #E7E562 #65E762
monochromatic
#641BB3 #832DDF #A262E7 #C197EF #E1CCF7

Accessibility & contrast

On white

3.86
#A262E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#A262E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262E7
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262E7#FFFFFF#000000##000000
##A262E71.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2780EB
Deuteranopia (green-blind)
#4381E4
Tritanopia (blue-blind)
#957C9B
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #a262e7;
/* rgb */ color: rgb(162, 98, 231);
/* oklch */ color: oklch(62.7% 0.196 303.4);
Tailwind
colors: {
  custom: {
    50: '#c191ef',
    500: '#a262e7',
    950: '#000000',
  },
}
SCSS
$custom: #a262e7;
$custom-light: #c191ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a262e7",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 231
  },
  "hsl": {
    "h": 268.872,
    "s": 73.481,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62712,
    "c": 0.19622,
    "h": 303.4
  },
  "luminance": 0.22186
}

Semantic roles & 50–950 ramp

primary
#A262E7
secondary
#D3E9BB
accent
#D61076
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262E7

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

Preview Lab → · Contrast checker → · Palette generator →

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