#A262EF#A262EF

#A262EF is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.205 H 301.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#A262EF
RGBrgb(162, 98, 239)
HSLhsl(267, 82%, 66%)
HSVhsv(267, 59%, 94%)
CMYKcmyk(32.2%, 59%, 0%, 6.3%)
CIE-LABlab(54.71, 53.07, -61.65)
CIE-LCHlch(54.71, 81.35, 310.72°)
OKLaboklab(63.22% 0.108 -0.1747)
OKLCHoklch(63.22% 0.205 301.7)
XYZxyz(34.8443, 22.6486, 84.1805)
Luminance0.2265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262EF #AFEF62
analogous
#6268EF #A262EF #E862EF
triadic
#A262EF #EFA262 #62EFA2
tetradic
#A262EF #EF6268 #AFEF62 #62EFE8
square
#A262EF #EF6268 #AFEF62 #62EFE8
split-complementary
#A262EF #EFE862 #68EF62
monochromatic
#6314C3 #812AE9 #A262EF #C39AF5 #E4D1FA

Accessibility & contrast

On white

3.80
#A262EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#A262EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262EF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262EF#FFFFFF#000000##000000
##A262EF1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1382F4
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#937F9F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a262ef;
/* rgb */ color: rgb(162, 98, 239);
/* oklch */ color: oklch(63.2% 0.205 301.7);
Tailwind
colors: {
  custom: {
    50: '#c291f5',
    500: '#a262ef',
    950: '#000000',
  },
}
SCSS
$custom: #a262ef;
$custom-light: #c291f5;
$custom-dark: #000000;
JSON
{
  "hex": "#a262ef",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 239
  },
  "hsl": {
    "h": 267.234,
    "s": 81.503,
    "l": 66.078
  },
  "oklch": {
    "l": 0.63222,
    "c": 0.20533,
    "h": 301.7
  },
  "luminance": 0.22649
}

Semantic roles & 50–950 ramp

primary
#A262EF
secondary
#D9EEBF
accent
#DE087D
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85

Preview Lab

Preview with #A262EF

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

Preview Lab → · Contrast checker → · Palette generator →

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