#A262C8#A262C8

#A262C8 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.9% C 0.161 H 311.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A262C8
RGBrgb(162, 98, 200)
HSLhsl(278, 48%, 58%)
HSVhsv(278, 51%, 78%)
CMYKcmyk(19%, 51%, 0%, 21.6%)
CIE-LABlab(52.50, 44.02, -43.13)
CIE-LCHlch(52.50, 61.63, 315.59°)
OKLaboklab(60.88% 0.1065 -0.1205)
OKLCHoklch(60.88% 0.161 311.5)
XYZxyz(29.6914, 20.5875, 57.0420)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262C8 #88C862
analogous
#6F62C8 #A262C8 #C862BB
triadic
#A262C8 #C8A262 #62C8A2
tetradic
#A262C8 #C86F62 #88C862 #62BBC8
square
#A262C8 #C86F62 #88C862 #62BBC8
split-complementary
#A262C8 #BBC862 #62C86F
monochromatic
#632E82 #853DAF #A262C8 #BD8FD8 #D8BDE8

Accessibility & contrast

On white

4.10
#A262C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A262C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262C8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262C8#FFFFFF#000000##000000
##A262C81.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACB
Deuteranopia (green-blind)
#5C7FC5
Tritanopia (blue-blind)
#9E738C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a262c8;
/* rgb */ color: rgb(162, 98, 200);
/* oklch */ color: oklch(60.9% 0.161 311.5);
Tailwind
colors: {
  custom: {
    50: '#c091d9',
    500: '#a262c8',
    950: '#000000',
  },
}
SCSS
$custom: #a262c8;
$custom-light: #c091d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a262c8",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 200
  },
  "hsl": {
    "h": 277.647,
    "s": 48.113,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60881,
    "c": 0.16081,
    "h": 311.5
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#A262C8
secondary
#BED7AF
accent
#D85083
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D15
muted
#817E83

Preview Lab

Preview with #A262C8

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

Preview Lab → · Contrast checker → · Palette generator →

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