#A262BD#A262BD

#A262BD is a mid, vivid purple. Relative luminance 0.201; OKLCH L 60.3% C 0.148 H 315.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A262BD
RGBrgb(162, 98, 189)
HSLhsl(282, 41%, 56%)
HSVhsv(282, 48%, 74%)
CMYKcmyk(14.3%, 48.1%, 0%, 25.9%)
CIE-LABlab(51.94, 41.63, -37.69)
CIE-LCHlch(51.94, 56.15, 317.84°)
OKLaboklab(60.29% 0.1052 -0.1047)
OKLCHoklch(60.29% 0.148 315.1)
XYZxyz(28.4518, 20.0916, 50.5135)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262BD #7DBD62
analogous
#7562BD #A262BD #BD62AB
triadic
#A262BD #BDA262 #62BDA2
tetradic
#A262BD #BD7562 #7DBD62 #62ABBD
square
#A262BD #BD7562 #7DBD62 #62ABBD
split-complementary
#A262BD #ABBD62 #62BD75
monochromatic
#603174 #84439F #A262BD #BC8DCF #D5B8E1

Accessibility & contrast

On white

4.18
#A262BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A262BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262BD
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262BD#FFFFFF#000000##000000
##A262BD1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078C0
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#A06F87
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a262bd;
/* rgb */ color: rgb(162, 98, 189);
/* oklch */ color: oklch(60.3% 0.148 315.1);
Tailwind
colors: {
  custom: {
    50: '#bf90d1',
    500: '#a262bd',
    950: '#000000',
  },
}
SCSS
$custom: #a262bd;
$custom-light: #bf90d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a262bd",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 282.198,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.14839,
    "h": 315.1
  },
  "luminance": 0.20091
}

Semantic roles & 50–950 ramp

primary
#A262BD
secondary
#B6D0AB
accent
#D1577B
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A262BD

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

Preview Lab → · Contrast checker → · Palette generator →

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