#A262BF#A262BF

#A262BF is a mid, vivid purple. Relative luminance 0.202; OKLCH L 60.4% C 0.151 H 314.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A262BF
RGBrgb(162, 98, 191)
HSLhsl(281, 42%, 57%)
HSVhsv(281, 49%, 75%)
CMYKcmyk(15.2%, 48.7%, 0%, 25.1%)
CIE-LABlab(52.04, 42.05, -38.69)
CIE-LCHlch(52.04, 57.14, 317.39°)
OKLaboklab(60.39% 0.1055 -0.1076)
OKLCHoklch(60.39% 0.151 314.4)
XYZxyz(28.6704, 20.1791, 51.6648)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262BF #7FBF62
analogous
#7462BF #A262BF #BF62AE
triadic
#A262BF #BFA262 #62BFA2
tetradic
#A262BF #BF7462 #7FBF62 #62AEBF
square
#A262BF #BF7462 #7FBF62 #62AEBF
split-complementary
#A262BF #AEBF62 #62BF74
monochromatic
#603076 #8442A2 #A262BF #BC8DD1 #D6B9E2

Accessibility & contrast

On white

4.17
#A262BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A262BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262BF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262BF#FFFFFF#000000##000000
##A262BF1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E78C2
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#A07088
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a262bf;
/* rgb */ color: rgb(162, 98, 191);
/* oklch */ color: oklch(60.4% 0.151 314.4);
Tailwind
colors: {
  custom: {
    50: '#bf90d2',
    500: '#a262bf',
    950: '#000000',
  },
}
SCSS
$custom: #a262bf;
$custom-light: #bf90d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a262bf",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 281.29,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.15064,
    "h": 314.4
  },
  "luminance": 0.20178
}

Semantic roles & 50–950 ramp

primary
#A262BF
secondary
#B7D1AB
accent
#D2567D
background
#FCF9FC
surface
#F8F1F9
border
#D1CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A262BF

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

Preview Lab → · Contrast checker → · Palette generator →

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