#A234CC#A234CC

#A234CC is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.228 H 314.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#A234CC
RGBrgb(162, 52, 204)
HSLhsl(283, 60%, 50%)
HSVhsv(283, 75%, 80%)
CMYKcmyk(20.6%, 74.5%, 0%, 20%)
CIE-LABlab(44.94, 66.12, -57.51)
CIE-LCHlch(44.94, 87.63, 318.98°)
OKLaboklab(55.48% 0.1602 -0.1623)
OKLCHoklch(55.48% 0.228 314.6)
XYZxyz(27.0255, 14.4980, 58.4898)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234CC #5ECC34
analogous
#5634CC #A234CC #CC34AA
triadic
#A234CC #CCA234 #34CCA2
tetradic
#A234CC #CC5634 #5ECC34 #34AACC
square
#A234CC #CC5634 #5ECC34 #34AACC
split-complementary
#A234CC #AACC34 #34CC56
monochromatic
#551B6B #7B279C #A234CC #B865D8 #CF96E5

Accessibility & contrast

On white

5.39
#A234CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#A234CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234CC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234CC#FFFFFF#000000##FFFFFF
##A234CC1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#2B6DC9
Tritanopia (blue-blind)
#9E567E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a234cc;
/* rgb */ color: rgb(162, 52, 204);
/* oklch */ color: oklch(55.5% 0.228 314.6);
Tailwind
colors: {
  custom: {
    50: '#c277dc',
    500: '#a234cc',
    950: '#000000',
  },
}
SCSS
$custom: #a234cc;
$custom-light: #c277dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a234cc",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 283.421,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55479,
    "c": 0.22805,
    "h": 314.6
  },
  "luminance": 0.14497
}

Semantic roles & 50–950 ramp

primary
#A234CC
secondary
#9FD08C
accent
#E34571
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A234CC

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

Preview Lab → · Contrast checker → · Palette generator →

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