#A262B2#A262B2

#A262B2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.7% C 0.136 H 319.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A262B2
RGBrgb(162, 98, 178)
HSLhsl(288, 34%, 54%)
HSVhsv(288, 45%, 70%)
CMYKcmyk(9%, 44.9%, 0%, 30.2%)
CIE-LABlab(51.42, 39.31, -32.14)
CIE-LCHlch(51.42, 50.78, 320.73°)
OKLaboklab(59.73% 0.1034 -0.0887)
OKLCHoklch(59.73% 0.136 319.4)
XYZxyz(27.3028, 19.6320, 44.4620)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262B2 #72B262
analogous
#7A62B2 #A262B2 #B2629A
triadic
#A262B2 #B2A262 #62B2A2
tetradic
#A262B2 #B27A62 #72B262 #629AB2
square
#A262B2 #B27A62 #72B262 #629AB2
split-complementary
#A262B2 #9AB262 #62B27A
monochromatic
#5D3367 #814790 #A262B2 #BA8BC6 #D3B4DA

Accessibility & contrast

On white

4.26
#A262B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A262B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262B2
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262B2#FFFFFF#000000##000000
##A262B21.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#A36C82
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a262b2;
/* rgb */ color: rgb(162, 98, 178);
/* oklch */ color: oklch(59.7% 0.136 319.4);
Tailwind
colors: {
  custom: {
    50: '#bf90c9',
    500: '#a262b2',
    950: '#000000',
  },
}
SCSS
$custom: #a262b2;
$custom-light: #bf90c9;
$custom-dark: #000000;
JSON
{
  "hex": "#a262b2",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 178
  },
  "hsl": {
    "h": 288,
    "s": 34.188,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.13624,
    "h": 319.4
  },
  "luminance": 0.19631
}

Semantic roles & 50–950 ramp

primary
#A262B2
secondary
#AEC9A7
accent
#CA5E73
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82

Preview Lab

Preview with #A262B2

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

Preview Lab → · Contrast checker → · Palette generator →

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