#A270BB#A270BB

#A270BB is a light, vivid purple. Relative luminance 0.229; OKLCH L 62.5% C 0.122 H 313.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#A270BB
RGBrgb(162, 112, 187)
HSLhsl(280, 36%, 59%)
HSVhsv(280, 40%, 73%)
CMYKcmyk(13.4%, 40.1%, 0%, 26.7%)
CIE-LABlab(54.93, 33.44, -31.86)
CIE-LCHlch(54.93, 46.19, 316.38°)
OKLaboklab(62.49% 0.0844 -0.088)
OKLCHoklch(62.49% 0.122 313.8)
XYZxyz(29.6626, 22.8582, 49.8536)
Luminance0.2286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A270BB #89BB70
analogous
#7C70BB #A270BB #BB70AE
triadic
#A270BB #BBA270 #70BBA2
tetradic
#A270BB #BB7C70 #89BB70 #70AEBB
square
#A270BB #BB7C70 #89BB70 #70AEBB
split-complementary
#A270BB #AEBB70 #70BB7C
monochromatic
#633978 #854DA1 #A270BB #BD99CF #D8C3E2

Accessibility & contrast

On white

3.77
#A270BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#A270BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A270BB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A270BB#FFFFFF#000000##000000
##A270BB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6381BE
Deuteranopia (green-blind)
#6F85B9
Tritanopia (blue-blind)
#A07A8D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #a270bb;
/* rgb */ color: rgb(162, 112, 187);
/* oklch */ color: oklch(62.5% 0.122 313.8);
Tailwind
colors: {
  custom: {
    50: '#bf9acf',
    500: '#a270bb',
    950: '#000000',
  },
}
SCSS
$custom: #a270bb;
$custom-light: #bf9acf;
$custom-dark: #000000;
JSON
{
  "hex": "#a270bb",
  "rgb": {
    "r": 162,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 280,
    "s": 35.545,
    "l": 58.627
  },
  "oklch": {
    "l": 0.62493,
    "c": 0.12191,
    "h": 313.8
  },
  "luminance": 0.22858
}

Semantic roles & 50–950 ramp

primary
#A270BB
secondary
#BED2B5
accent
#CC5C81
background
#FBF9FC
surface
#F7F2F9
border
#D0CCD2
text
#120E14
muted
#817E82

Preview Lab

Preview with #A270BB

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

Preview Lab → · Contrast checker → · Palette generator →

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