#A230BC#A230BC

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

Color values

HEX#A230BC
RGBrgb(162, 48, 188)
HSLhsl(289, 59%, 46%)
HSVhsv(289, 74%, 74%)
CMYKcmyk(13.8%, 74.5%, 0%, 26.3%)
CIE-LABlab(43.40, 64.47, -50.68)
CIE-LCHlch(43.40, 82.00, 321.82°)
OKLaboklab(54.06% 0.1658 -0.1422)
OKLCHoklch(54.06% 0.218 319.4)
XYZxyz(25.0332, 13.4274, 48.8403)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230BC #4ABC30
analogous
#5C30BC #A230BC #BC3090
triadic
#A230BC #BCA230 #30BCA2
tetradic
#A230BC #BC5C30 #4ABC30 #3090BC
square
#A230BC #BC5C30 #4ABC30 #3090BC
split-complementary
#A230BC #90BC30 #30BC5C
monochromatic
#4E175A #78248B #A230BC #BC55D4 #CF86E0

Accessibility & contrast

On white

5.70
#A230BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A230BC
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230BC#FFFFFF#000000##FFFFFF
##A230BC1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#3B6AB9
Tritanopia (blue-blind)
#A24D74
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a230bc;
/* rgb */ color: rgb(162, 48, 188);
/* oklch */ color: oklch(54.1% 0.218 319.4);
Tailwind
colors: {
  custom: {
    50: '#c274d1',
    500: '#a230bc',
    950: '#000000',
  },
}
SCSS
$custom: #a230bc;
$custom-light: #c274d1;
$custom-dark: #000000;
JSON
{
  "hex": "#a230bc",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 288.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54056,
    "c": 0.21842,
    "h": 319.4
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#A230BC
secondary
#8CCA7E
accent
#E34562
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #A230BC

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

Preview Lab → · Contrast checker → · Palette generator →

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