#A235C1#A235C1

#A235C1 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.8% C 0.217 H 317.7°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#A235C1
RGBrgb(162, 53, 193)
HSLhsl(287, 57%, 48%)
HSVhsv(287, 73%, 76%)
CMYKcmyk(16.1%, 72.5%, 0%, 24.3%)
CIE-LABlab(44.35, 63.62, -52.09)
CIE-LCHlch(44.35, 82.22, 320.69°)
OKLaboklab(54.83% 0.1606 -0.1464)
OKLCHoklch(54.83% 0.217 317.7)
XYZxyz(25.7977, 14.0790, 51.8004)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235C1 #54C135
analogous
#5C35C1 #A235C1 #C1359A
triadic
#A235C1 #C1A235 #35C1A2
tetradic
#A235C1 #C15C35 #54C135 #359AC1
square
#A235C1 #C15C35 #54C135 #359AC1
split-complementary
#A235C1 #9AC135 #35C15C
monochromatic
#511B61 #7A2891 #A235C1 #BA60D3 #CF90E0

Accessibility & contrast

On white

5.50
#A235C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A235C1
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235C1#FFFFFF#000000##FFFFFF
##A235C11.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#3A6CBE
Tritanopia (blue-blind)
#A15278
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a235c1;
/* rgb */ color: rgb(162, 53, 193);
/* oklch */ color: oklch(54.8% 0.217 317.7);
Tailwind
colors: {
  custom: {
    50: '#c277d4',
    500: '#a235c1',
    950: '#000000',
  },
}
SCSS
$custom: #a235c1;
$custom-light: #c277d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a235c1",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 193
  },
  "hsl": {
    "h": 286.714,
    "s": 56.911,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54829,
    "c": 0.21729,
    "h": 317.7
  },
  "luminance": 0.14078
}

Semantic roles & 50–950 ramp

primary
#A235C1
secondary
#96CB87
accent
#E04869
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A235C1

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

Preview Lab → · Contrast checker → · Palette generator →

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