#A262BB#A262BB

#A262BB is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.2% C 0.146 H 315.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A262BB
RGBrgb(162, 98, 187)
HSLhsl(283, 40%, 56%)
HSVhsv(283, 48%, 73%)
CMYKcmyk(13.4%, 47.6%, 0%, 26.7%)
CIE-LABlab(51.84, 41.20, -36.69)
CIE-LCHlch(51.84, 55.16, 318.31°)
OKLaboklab(60.19% 0.1049 -0.1018)
OKLCHoklch(60.19% 0.146 315.9)
XYZxyz(28.2363, 20.0054, 49.3781)
Luminance0.2001 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262BB #7BBB62
analogous
#7562BB #A262BB #BB62A7
triadic
#A262BB #BBA262 #62BBA2
tetradic
#A262BB #BB7562 #7BBB62 #62A7BB
square
#A262BB #BB7562 #7BBB62 #62A7BB
split-complementary
#A262BB #A7BB62 #62BB75
monochromatic
#5F3171 #83449C #A262BB #BB8DCD #D5B7E0

Accessibility & contrast

On white

4.20
#A262BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#A262BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262BB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262BB#FFFFFF#000000##000000
##A262BB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#A16F86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a262bb;
/* rgb */ color: rgb(162, 98, 187);
/* oklch */ color: oklch(60.2% 0.146 315.9);
Tailwind
colors: {
  custom: {
    50: '#bf90d0',
    500: '#a262bb',
    950: '#000000',
  },
}
SCSS
$custom: #a262bb;
$custom-light: #bf90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a262bb",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 187
  },
  "hsl": {
    "h": 283.146,
    "s": 39.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.14615,
    "h": 315.9
  },
  "luminance": 0.20005
}

Semantic roles & 50–950 ramp

primary
#A262BB
secondary
#B4CFAA
accent
#CF587A
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A262BB

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

Preview Lab → · Contrast checker → · Palette generator →

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