#A262DF#A262DF

#A262DF is a light, vivid violet. Relative luminance 0.217; OKLCH L 62.2% C 0.187 H 305.2°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#A262DF
RGBrgb(162, 98, 223)
HSLhsl(271, 66%, 63%)
HSVhsv(271, 56%, 87%)
CMYKcmyk(27.4%, 56.1%, 0%, 12.5%)
CIE-LABlab(53.76, 49.27, -54.20)
CIE-LCHlch(53.76, 73.25, 312.27°)
OKLaboklab(62.22% 0.1079 -0.1528)
OKLCHoklch(62.22% 0.187 305.2)
XYZxyz(32.5844, 21.7447, 72.2783)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262DF #9FDF62
analogous
#6362DF #A262DF #DF62DE
triadic
#A262DF #DFA262 #62DFA2
tetradic
#A262DF #DF6362 #9FDF62 #62DEDF
square
#A262DF #DF6362 #9FDF62 #62DEDF
split-complementary
#A262DF #DEDF62 #62DF63
monochromatic
#6522A5 #842FD5 #A262DF #C095E9 #DEC8F4

Accessibility & contrast

On white

3.93
#A262DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#A262DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262DF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262DF#FFFFFF#000000##000000
##A262DF1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#327FE3
Deuteranopia (green-blind)
#4B81DC
Tritanopia (blue-blind)
#987A97
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a262df;
/* rgb */ color: rgb(162, 98, 223);
/* oklch */ color: oklch(62.2% 0.187 305.2);
Tailwind
colors: {
  custom: {
    50: '#c191ea',
    500: '#a262df',
    950: '#000000',
  },
}
SCSS
$custom: #a262df;
$custom-light: #c191ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a262df",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 270.72,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.62218,
    "c": 0.18708,
    "h": 305.2
  },
  "luminance": 0.21744
}

Semantic roles & 50–950 ramp

primary
#A262DF
secondary
#CEE5B8
accent
#CE1771
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #A262DF

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

Preview Lab → · Contrast checker → · Palette generator →

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