#A235D2#A235D2

#A235D2 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.232 H 313.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A235D2
RGBrgb(162, 53, 210)
HSLhsl(282, 64%, 52%)
HSVhsv(282, 75%, 82%)
CMYKcmyk(22.9%, 74.8%, 0%, 17.6%)
CIE-LABlab(45.47, 66.95, -60.11)
CIE-LCHlch(45.47, 89.98, 318.08°)
OKLaboklab(55.99% 0.1584 -0.1699)
OKLCHoklch(55.99% 0.232 313)
XYZxyz(27.8042, 14.8816, 62.3681)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235D2 #65D235
analogous
#5435D2 #A235D2 #D235B4
triadic
#A235D2 #D2A235 #35D2A2
tetradic
#A235D2 #D25435 #65D235 #35B4D2
square
#A235D2 #D25435 #65D235 #35B4D2
split-complementary
#A235D2 #B4D235 #35D254
monochromatic
#581A73 #7E25A5 #A235D2 #B967DD #D099E8

Accessibility & contrast

On white

5.28
#A235D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A235D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235D2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235D2#FFFFFF#000000##FFFFFF
##A235D21.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#236ECF
Tritanopia (blue-blind)
#9D5982
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a235d2;
/* rgb */ color: rgb(162, 53, 210);
/* oklch */ color: oklch(56.0% 0.232 313.0);
Tailwind
colors: {
  custom: {
    50: '#c277e1',
    500: '#a235d2',
    950: '#000000',
  },
}
SCSS
$custom: #a235d2;
$custom-light: #c277e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a235d2",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 281.656,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.23231,
    "h": 313
  },
  "luminance": 0.14881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A235D2

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

Preview Lab → · Contrast checker → · Palette generator →

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