#A234CA#A234CA

#A234CA is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.226 H 315.2°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A234CA
RGBrgb(162, 52, 202)
HSLhsl(284, 59%, 50%)
HSVhsv(284, 74%, 79%)
CMYKcmyk(19.8%, 74.3%, 0%, 20.8%)
CIE-LABlab(44.80, 65.73, -56.57)
CIE-LCHlch(44.80, 86.72, 319.28°)
OKLaboklab(55.34% 0.1605 -0.1595)
OKLCHoklch(55.34% 0.226 315.2)
XYZxyz(26.7872, 14.4026, 57.2346)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234CA #5CCA34
analogous
#5734CA #A234CA #CA34A7
triadic
#A234CA #CAA234 #34CAA2
tetradic
#A234CA #CA5734 #5CCA34 #34A7CA
square
#A234CA #CA5734 #5CCA34 #34A7CA
split-complementary
#A234CA #A7CA34 #34CA57
monochromatic
#541B69 #7B2799 #A234CA #B864D7 #CF95E4

Accessibility & contrast

On white

5.41
#A234CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A234CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234CA
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234CA#FFFFFF#000000##FFFFFF
##A234CA1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#2E6DC7
Tritanopia (blue-blind)
#9F557D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a234ca;
/* rgb */ color: rgb(162, 52, 202);
/* oklch */ color: oklch(55.3% 0.226 315.2);
Tailwind
colors: {
  custom: {
    50: '#c277db',
    500: '#a234ca',
    950: '#000000',
  },
}
SCSS
$custom: #a234ca;
$custom-light: #c277db;
$custom-dark: #000000;
JSON
{
  "hex": "#a234ca",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 284,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.55342,
    "c": 0.22629,
    "h": 315.2
  },
  "luminance": 0.14402
}

Semantic roles & 50–950 ramp

primary
#A234CA
secondary
#9DCF8B
accent
#E2466F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A234CA

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

Preview Lab → · Contrast checker → · Palette generator →

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