#A235C2#A235C2

#A235C2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.218 H 317.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#A235C2
RGBrgb(162, 53, 194)
HSLhsl(286, 57%, 48%)
HSVhsv(286, 73%, 76%)
CMYKcmyk(16.5%, 72.7%, 0%, 23.9%)
CIE-LABlab(44.41, 63.81, -52.57)
CIE-LCHlch(44.41, 82.67, 320.52°)
OKLaboklab(54.9% 0.1605 -0.1478)
OKLCHoklch(54.9% 0.218 317.4)
XYZxyz(25.9096, 14.1237, 52.3898)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235C2 #55C235
analogous
#5B35C2 #A235C2 #C2359B
triadic
#A235C2 #C2A235 #35C2A2
tetradic
#A235C2 #C25B35 #55C235 #359BC2
square
#A235C2 #C25B35 #55C235 #359BC2
split-complementary
#A235C2 #9BC235 #35C25B
monochromatic
#521B62 #7A2892 #A235C2 #BA60D4 #CF91E1

Accessibility & contrast

On white

5.49
#A235C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#A235C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235C2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235C2#FFFFFF#000000##FFFFFF
##A235C21.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#396CBF
Tritanopia (blue-blind)
#A15279
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a235c2;
/* rgb */ color: rgb(162, 53, 194);
/* oklch */ color: oklch(54.9% 0.218 317.4);
Tailwind
colors: {
  custom: {
    50: '#c277d5',
    500: '#a235c2',
    950: '#000000',
  },
}
SCSS
$custom: #a235c2;
$custom-light: #c277d5;
$custom-dark: #000000;
JSON
{
  "hex": "#a235c2",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 194
  },
  "hsl": {
    "h": 286.383,
    "s": 57.085,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54895,
    "c": 0.21817,
    "h": 317.4
  },
  "luminance": 0.14123
}

Semantic roles & 50–950 ramp

primary
#A235C2
secondary
#97CC87
accent
#E0476A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A235C2

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

Preview Lab → · Contrast checker → · Palette generator →

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