#A262C7#A262C7

#A262C7 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.8% C 0.160 H 311.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A262C7
RGBrgb(162, 98, 199)
HSLhsl(278, 47%, 58%)
HSVhsv(278, 51%, 78%)
CMYKcmyk(18.6%, 50.8%, 0%, 22%)
CIE-LABlab(52.44, 43.80, -42.64)
CIE-LCHlch(52.44, 61.13, 315.77°)
OKLaboklab(60.83% 0.1064 -0.1191)
OKLCHoklch(60.83% 0.16 311.8)
XYZxyz(29.5750, 20.5409, 56.4286)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262C7 #87C762
analogous
#6F62C7 #A262C7 #C762B9
triadic
#A262C7 #C7A262 #62C7A2
tetradic
#A262C7 #C76F62 #87C762 #62B9C7
square
#A262C7 #C76F62 #87C762 #62B9C7
split-complementary
#A262C7 #B9C762 #62C76F
monochromatic
#622E81 #853EAE #A262C7 #BD8FD7 #D7BCE7

Accessibility & contrast

On white

4.11
#A262C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A262C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262C7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262C7#FFFFFF#000000##000000
##A262C71.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#497ACA
Deuteranopia (green-blind)
#5C7EC4
Tritanopia (blue-blind)
#9E728B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a262c7;
/* rgb */ color: rgb(162, 98, 199);
/* oklch */ color: oklch(60.8% 0.160 311.8);
Tailwind
colors: {
  custom: {
    50: '#c091d8',
    500: '#a262c7',
    950: '#000000',
  },
}
SCSS
$custom: #a262c7;
$custom-light: #c091d8;
$custom-dark: #000000;
JSON
{
  "hex": "#a262c7",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 199
  },
  "hsl": {
    "h": 278.02,
    "s": 47.418,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60826,
    "c": 0.15967,
    "h": 311.8
  },
  "luminance": 0.2054
}

Semantic roles & 50–950 ramp

primary
#A262C7
secondary
#BDD7AE
accent
#D75182
background
#FCF9FD
surface
#F8F1FA
border
#D1CBD3
text
#120D14
muted
#817E83

Preview Lab

Preview with #A262C7

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

Preview Lab → · Contrast checker → · Palette generator →

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