#A234D7#A234D7

#A234D7 is a mid, highly saturated purple. Relative luminance 0.150; OKLCH L 56.3% C 0.238 H 311.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A234D7
RGBrgb(162, 52, 215)
HSLhsl(280, 67%, 52%)
HSVhsv(280, 76%, 84%)
CMYKcmyk(24.7%, 75.8%, 0%, 15.7%)
CIE-LABlab(45.69, 68.31, -62.62)
CIE-LCHlch(45.69, 92.67, 317.49°)
OKLaboklab(56.25% 0.1584 -0.1773)
OKLCHoklch(56.25% 0.238 311.8)
XYZxyz(28.3917, 15.0444, 65.6850)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234D7 #69D734
analogous
#5134D7 #A234D7 #D734BA
triadic
#A234D7 #D7A234 #34D7A2
tetradic
#A234D7 #D75134 #69D734 #34BAD7
square
#A234D7 #D75134 #69D734 #34BAD7
split-complementary
#A234D7 #BAD734 #34D751
monochromatic
#591879 #7F22AC #A234D7 #B967E1 #D19AEB

Accessibility & contrast

On white

5.24
#A234D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A234D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A234D7
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A234D7#FFFFFF#000000##FFFFFF
##A234D71.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#156ED4
Tritanopia (blue-blind)
#9B5B84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a234d7;
/* rgb */ color: rgb(162, 52, 215);
/* oklch */ color: oklch(56.3% 0.238 311.8);
Tailwind
colors: {
  custom: {
    50: '#c377e4',
    500: '#a234d7',
    950: '#000000',
  },
}
SCSS
$custom: #a234d7;
$custom-light: #c377e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a234d7",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 215
  },
  "hsl": {
    "h": 280.491,
    "s": 67.078,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56252,
    "c": 0.23777,
    "h": 311.8
  },
  "luminance": 0.15044
}

Semantic roles & 50–950 ramp

primary
#A234D7
secondary
#A7D790
accent
#EA3E76
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A234D7

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

Preview Lab → · Contrast checker → · Palette generator →

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