#A230BD#A230BD

#A230BD is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.1% C 0.219 H 319.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#A230BD
RGBrgb(162, 48, 189)
HSLhsl(289, 59%, 46%)
HSVhsv(289, 75%, 74%)
CMYKcmyk(14.3%, 74.6%, 0%, 25.9%)
CIE-LABlab(43.46, 64.65, -51.17)
CIE-LCHlch(43.46, 82.45, 321.64°)
OKLaboklab(54.12% 0.1657 -0.1436)
OKLCHoklch(54.12% 0.219 319.1)
XYZxyz(25.1413, 13.4706, 49.4100)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230BD #4BBD30
analogous
#5C30BD #A230BD #BD3092
triadic
#A230BD #BDA230 #30BDA2
tetradic
#A230BD #BD5C30 #4BBD30 #3092BD
square
#A230BD #BD5C30 #4BBD30 #3092BD
split-complementary
#A230BD #92BD30 #30BD5C
monochromatic
#4E175B #78248C #A230BD #BC56D4 #CF87E0

Accessibility & contrast

On white

5.69
#A230BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#A230BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230BD
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230BD#FFFFFF#000000##FFFFFF
##A230BD1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#3A6ABA
Tritanopia (blue-blind)
#A24D75
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a230bd;
/* rgb */ color: rgb(162, 48, 189);
/* oklch */ color: oklch(54.1% 0.219 319.1);
Tailwind
colors: {
  custom: {
    50: '#c274d2',
    500: '#a230bd',
    950: '#000000',
  },
}
SCSS
$custom: #a230bd;
$custom-light: #c274d2;
$custom-dark: #000000;
JSON
{
  "hex": "#a230bd",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 288.511,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54121,
    "c": 0.21926,
    "h": 319.1
  },
  "luminance": 0.13469
}

Semantic roles & 50–950 ramp

primary
#A230BD
secondary
#8DCA7F
accent
#E34563
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A230BD

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

Preview Lab → · Contrast checker → · Palette generator →

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