#A262CB#A262CB

#A262CB is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.0% C 0.164 H 310.6°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A262CB
RGBrgb(162, 98, 203)
HSLhsl(277, 50%, 59%)
HSVhsv(277, 52%, 80%)
CMYKcmyk(20.2%, 51.7%, 0%, 20.4%)
CIE-LABlab(52.65, 44.69, -44.60)
CIE-LCHlch(52.65, 63.14, 315.06°)
OKLaboklab(61.05% 0.1068 -0.1248)
OKLCHoklch(61.05% 0.164 310.6)
XYZxyz(30.0455, 20.7291, 58.9067)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262CB #8BCB62
analogous
#6E62CB #A262CB #CB62C0
triadic
#A262CB #CBA262 #62CBA2
tetradic
#A262CB #CB6E62 #8BCB62 #62C0CB
square
#A262CB #CB6E62 #8BCB62 #62C0CB
split-complementary
#A262CB #C0CB62 #62CB6E
monochromatic
#632C86 #853CB4 #A262CB #BD90DA #D8BEE9

Accessibility & contrast

On white

4.08
#A262CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A262CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262CB
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262CB#FFFFFF#000000##000000
##A262CB1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#467BCF
Deuteranopia (green-blind)
#5A7FC8
Tritanopia (blue-blind)
#9D748D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a262cb;
/* rgb */ color: rgb(162, 98, 203);
/* oklch */ color: oklch(61.0% 0.164 310.6);
Tailwind
colors: {
  custom: {
    50: '#c091db',
    500: '#a262cb',
    950: '#000000',
  },
}
SCSS
$custom: #a262cb;
$custom-light: #c091db;
$custom-dark: #000000;
JSON
{
  "hex": "#a262cb",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 276.571,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61048,
    "c": 0.16422,
    "h": 310.6
  },
  "luminance": 0.20729
}

Semantic roles & 50–950 ramp

primary
#A262CB
secondary
#C0D9B0
accent
#DA4E85
background
#FCF9FD
surface
#F8F1FB
border
#D1CBD4
text
#120D15
muted
#817E83

Preview Lab

Preview with #A262CB

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

Preview Lab → · Contrast checker → · Palette generator →

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