#A235CA#A235CA

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

Color values

HEX#A235CA
RGBrgb(162, 53, 202)
HSLhsl(284, 58%, 50%)
HSVhsv(284, 74%, 79%)
CMYKcmyk(19.8%, 73.8%, 0%, 20.8%)
CIE-LABlab(44.93, 65.37, -56.37)
CIE-LCHlch(44.93, 86.31, 319.23°)
OKLaboklab(55.43% 0.1596 -0.1589)
OKLCHoklch(55.43% 0.225 315.1)
XYZxyz(26.8323, 14.4928, 57.2496)
Luminance0.1449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235CA #5DCA35
analogous
#5835CA #A235CA #CA35A7
triadic
#A235CA #CAA235 #35CAA2
tetradic
#A235CA #CA5835 #5DCA35 #35A7CA
square
#A235CA #CA5835 #5DCA35 #35A7CA
split-complementary
#A235CA #A7CA35 #35CA58
monochromatic
#541C69 #7B289A #A235CA #B865D7 #CF96E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A235CA#FFFFFF#000000##FFFFFF
##A235CA1.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)
#0064CE
Deuteranopia (green-blind)
#2F6DC7
Tritanopia (blue-blind)
#9F567D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a235ca;
/* rgb */ color: rgb(162, 53, 202);
/* oklch */ color: oklch(55.4% 0.225 315.1);
Tailwind
colors: {
  custom: {
    50: '#c277db',
    500: '#a235ca',
    950: '#000000',
  },
}
SCSS
$custom: #a235ca;
$custom-light: #c277db;
$custom-dark: #000000;
JSON
{
  "hex": "#a235ca",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 283.893,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.22521,
    "h": 315.1
  },
  "luminance": 0.14492
}

Semantic roles & 50–950 ramp

primary
#A235CA
secondary
#9ECF8C
accent
#E24670
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A235CA

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

Preview Lab → · Contrast checker → · Palette generator →

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