#A230CD#A230CD

#A230CD is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.2% C 0.233 H 314.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#A230CD
RGBrgb(162, 48, 205)
HSLhsl(284, 62%, 50%)
HSVhsv(284, 77%, 80%)
CMYKcmyk(21%, 76.6%, 0%, 19.6%)
CIE-LABlab(44.52, 67.70, -58.76)
CIE-LCHlch(44.52, 89.65, 319.04°)
OKLaboklab(55.21% 0.1635 -0.1659)
OKLCHoklch(55.21% 0.233 314.6)
XYZxyz(26.9748, 14.2040, 59.0665)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A230CD #5BCD30
analogous
#5430CD #A230CD #CD30A9
triadic
#A230CD #CDA230 #30CDA2
tetradic
#A230CD #CD5430 #5BCD30 #30A9CD
square
#A230CD #CD5430 #5BCD30 #30A9CD
split-complementary
#A230CD #A9CD30 #30CD54
monochromatic
#54196A #7B249B #A230CD #B960DA #CF92E5

Accessibility & contrast

On white

5.47
#A230CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#A230CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A230CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A230CD#FFFFFF#000000##FFFFFF
##A230CD1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#266CCA
Tritanopia (blue-blind)
#9E547E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a230cd;
/* rgb */ color: rgb(162, 48, 205);
/* oklch */ color: oklch(55.2% 0.233 314.6);
Tailwind
colors: {
  custom: {
    50: '#c275dd',
    500: '#a230cd',
    950: '#000000',
  },
}
SCSS
$custom: #a230cd;
$custom-light: #c275dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a230cd",
  "rgb": {
    "r": 162,
    "g": 48,
    "b": 205
  },
  "hsl": {
    "h": 283.567,
    "s": 62.055,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.23296,
    "h": 314.6
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#A230CD
secondary
#9CD089
accent
#E5436F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A230CD

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

Preview Lab → · Contrast checker → · Palette generator →

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