#A235D3#A235D3

#A235D3 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.1% C 0.233 H 312.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A235D3
RGBrgb(162, 53, 211)
HSLhsl(281, 64%, 52%)
HSVhsv(281, 75%, 83%)
CMYKcmyk(23.2%, 74.9%, 0%, 17.3%)
CIE-LABlab(45.54, 67.15, -60.58)
CIE-LCHlch(45.54, 90.44, 317.95°)
OKLaboklab(56.06% 0.1583 -0.1713)
OKLCHoklch(56.06% 0.233 312.7)
XYZxyz(27.9291, 14.9316, 63.0262)
Luminance0.1493 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235D3 #66D335
analogous
#5335D3 #A235D3 #D335B5
triadic
#A235D3 #D3A235 #35D3A2
tetradic
#A235D3 #D35335 #66D335 #35B5D3
square
#A235D3 #D35335 #66D335 #35B5D3
split-complementary
#A235D3 #B5D335 #35D353
monochromatic
#581974 #7E24A7 #A235D3 #B967DE #D09AE9

Accessibility & contrast

On white

5.27
#A235D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#A235D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235D3
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235D3#FFFFFF#000000##FFFFFF
##A235D31.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#216ED0
Tritanopia (blue-blind)
#9C5982
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a235d3;
/* rgb */ color: rgb(162, 53, 211);
/* oklch */ color: oklch(56.1% 0.233 312.7);
Tailwind
colors: {
  custom: {
    50: '#c277e1',
    500: '#a235d3',
    950: '#000000',
  },
}
SCSS
$custom: #a235d3;
$custom-light: #c277e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a235d3",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 211
  },
  "hsl": {
    "h": 281.392,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.56055,
    "c": 0.2332,
    "h": 312.7
  },
  "luminance": 0.14931
}

Semantic roles & 50–950 ramp

primary
#A235D3
secondary
#A5D58F
accent
#E74174
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A235D3

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

Preview Lab → · Contrast checker → · Palette generator →

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