#A262BC#A262BC

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

Color values

HEX#A262BC
RGBrgb(162, 98, 188)
HSLhsl(283, 40%, 56%)
HSVhsv(283, 48%, 74%)
CMYKcmyk(13.8%, 47.9%, 0%, 26.3%)
CIE-LABlab(51.89, 41.41, -37.19)
CIE-LCHlch(51.89, 55.66, 318.08°)
OKLaboklab(60.24% 0.105 -0.1032)
OKLCHoklch(60.24% 0.147 315.5)
XYZxyz(28.3437, 20.0484, 49.9438)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A262BC #7CBC62
analogous
#7562BC #A262BC #BC62A9
triadic
#A262BC #BCA262 #62BCA2
tetradic
#A262BC #BC7562 #7CBC62 #62A9BC
square
#A262BC #BC7562 #7CBC62 #62A9BC
split-complementary
#A262BC #A9BC62 #62BC75
monochromatic
#603173 #83439E #A262BC #BB8DCE #D5B8E1

Accessibility & contrast

On white

4.19
#A262BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A262BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A262BC
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A262BC#FFFFFF#000000##000000
##A262BC1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5078BF
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#A16F86
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a262bc;
/* rgb */ color: rgb(162, 98, 188);
/* oklch */ color: oklch(60.2% 0.147 315.5);
Tailwind
colors: {
  custom: {
    50: '#bf90d0',
    500: '#a262bc',
    950: '#000000',
  },
}
SCSS
$custom: #a262bc;
$custom-light: #bf90d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a262bc",
  "rgb": {
    "r": 162,
    "g": 98,
    "b": 188
  },
  "hsl": {
    "h": 282.667,
    "s": 40.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60237,
    "c": 0.14727,
    "h": 315.5
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#A262BC
secondary
#B5CFAA
accent
#D0587B
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82

Preview Lab

Preview with #A262BC

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

Preview Lab → · Contrast checker → · Palette generator →

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