#A262D6#A262D6

#A262D6 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.7% C 0.177 H 307.5°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A262D6
RGBrgb(162, 98, 214)
HSLhsl(273, 59%, 61%)
HSVhsv(273, 54%, 84%)
CMYKcmyk(24.3%, 54.2%, 0%, 16.1%)
CIE-LABlab(53.25, 47.18, -49.92)
CIE-LCHlch(53.25, 68.69, 313.39°)
OKLaboklab(61.68% 0.1076 -0.1403)
OKLCHoklch(61.68% 0.177 307.5)
XYZxyz(31.4031, 21.2722, 66.0569)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262D6 #96D662
analogous
#6862D6 #A262D6 #D662D0
triadic
#A262D6 #D6A262 #62D6A2
tetradic
#A262D6 #D66862 #96D662 #62D0D6
square
#A262D6 #D66862 #96D662 #62D0D6
split-complementary
#A262D6 #D0D662 #62D668
monochromatic
#652796 #8534C7 #A262D6 #BF93E3 #DBC3EF

Accessibility & contrast

On white

4.00
#A262D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A262D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262D6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262D6#FFFFFF#000000##000000
##A262D61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7DDA
Deuteranopia (green-blind)
#5280D3
Tritanopia (blue-blind)
#9A7793
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a262d6;
/* rgb */ color: rgb(162, 98, 214);
/* oklch */ color: oklch(61.7% 0.177 307.5);
Tailwind
colors: {
  custom: {
    50: '#c091e3',
    500: '#a262d6',
    950: '#000000',
  },
}
SCSS
$custom: #a262d6;
$custom-light: #c091e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a262d6",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 214
  },
  "hsl": {
    "h": 273.103,
    "s": 58.586,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61679,
    "c": 0.17678,
    "h": 307.5
  },
  "luminance": 0.21272
}

Semantic roles & 50–950 ramp

primary
#A262D6
secondary
#C8E0B4
accent
#C61F6A
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D15
muted
#827E84

Preview Lab

Preview with #A262D6

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

Preview Lab → · Contrast checker → · Palette generator →

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