#A235C0#A235C0

#A235C0 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.216 H 317.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#A235C0
RGBrgb(162, 53, 192)
HSLhsl(287, 57%, 48%)
HSVhsv(287, 72%, 75%)
CMYKcmyk(15.6%, 72.4%, 0%, 24.7%)
CIE-LABlab(44.28, 63.43, -51.60)
CIE-LCHlch(44.28, 81.77, 320.87°)
OKLaboklab(54.76% 0.1607 -0.145)
OKLCHoklch(54.76% 0.216 317.9)
XYZxyz(25.6865, 14.0345, 51.2149)
Luminance0.1403 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235C0 #53C035
analogous
#5C35C0 #A235C0 #C03599
triadic
#A235C0 #C0A235 #35C0A2
tetradic
#A235C0 #C05C35 #53C035 #3599C0
square
#A235C0 #C05C35 #53C035 #3599C0
split-complementary
#A235C0 #99C035 #35C05C
monochromatic
#511B60 #7A2890 #A235C0 #BA5FD3 #CF8FE0

Accessibility & contrast

On white

5.52
#A235C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#A235C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235C0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235C0#FFFFFF#000000##FFFFFF
##A235C01.005.523.815.52
#FFFFFF5.521.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#3B6CBD
Tritanopia (blue-blind)
#A15178
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a235c0;
/* rgb */ color: rgb(162, 53, 192);
/* oklch */ color: oklch(54.8% 0.216 317.9);
Tailwind
colors: {
  custom: {
    50: '#c277d4',
    500: '#a235c0',
    950: '#000000',
  },
}
SCSS
$custom: #a235c0;
$custom-light: #c277d4;
$custom-dark: #000000;
JSON
{
  "hex": "#a235c0",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 192
  },
  "hsl": {
    "h": 287.05,
    "s": 56.735,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.21641,
    "h": 317.9
  },
  "luminance": 0.14033
}

Semantic roles & 50–950 ramp

primary
#A235C0
secondary
#95CB86
accent
#E04869
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A235C0

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

Preview Lab → · Contrast checker → · Palette generator →

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