#A230BB#A230BB

#A230BB is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 54.0% C 0.218 H 319.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#A230BB
RGBrgb(162, 48, 187)
HSLhsl(289, 59%, 46%)
HSVhsv(289, 74%, 73%)
CMYKcmyk(13.4%, 74.3%, 0%, 26.7%)
CIE-LABlab(43.34, 64.28, -50.20)
CIE-LCHlch(43.34, 81.56, 322.01°)
OKLaboklab(53.99% 0.1659 -0.1408)
OKLCHoklch(53.99% 0.218 319.7)
XYZxyz(24.9257, 13.3844, 48.2746)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230BB #49BB30
analogous
#5C30BB #A230BB #BB308E
triadic
#A230BB #BBA230 #30BBA2
tetradic
#A230BB #BB5C30 #49BB30 #308EBB
square
#A230BB #BB5C30 #49BB30 #308EBB
split-complementary
#A230BB #8EBB30 #30BB5C
monochromatic
#4E175A #78238A #A230BB #BD55D3 #D086E0

Accessibility & contrast

On white

5.71
#A230BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#A230BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230BB
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230BB#FFFFFF#000000##FFFFFF
##A230BB1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#A24C74
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #a230bb;
/* rgb */ color: rgb(162, 48, 187);
/* oklch */ color: oklch(54.0% 0.218 319.7);
Tailwind
colors: {
  custom: {
    50: '#c274d0',
    500: '#a230bb',
    950: '#000000',
  },
}
SCSS
$custom: #a230bb;
$custom-light: #c274d0;
$custom-dark: #000000;
JSON
{
  "hex": "#a230bb",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 187
  },
  "hsl": {
    "h": 289.209,
    "s": 59.149,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5399,
    "c": 0.21757,
    "h": 319.7
  },
  "luminance": 0.13383
}

Semantic roles & 50–950 ramp

primary
#A230BB
secondary
#8BC97D
accent
#E24562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A230BB

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

Preview Lab → · Contrast checker → · Palette generator →

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