#A235C5#A235C5

#A235C5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.1% C 0.221 H 316.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#A235C5
RGBrgb(162, 53, 197)
HSLhsl(285, 58%, 49%)
HSVhsv(285, 73%, 77%)
CMYKcmyk(17.8%, 73.1%, 0%, 22.7%)
CIE-LABlab(44.60, 64.39, -54.00)
CIE-LCHlch(44.60, 84.04, 320.02°)
OKLaboklab(55.09% 0.1602 -0.152)
OKLCHoklch(55.09% 0.221 316.5)
XYZxyz(26.2499, 14.2599, 54.1822)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235C5 #58C535
analogous
#5A35C5 #A235C5 #C535A0
triadic
#A235C5 #C5A235 #35C5A2
tetradic
#A235C5 #C55A35 #58C535 #35A0C5
square
#A235C5 #C55A35 #58C535 #35A0C5
split-complementary
#A235C5 #A0C535 #35C55A
monochromatic
#531B65 #7A2895 #A235C5 #B962D5 #CF93E2

Accessibility & contrast

On white

5.45
#A235C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#A235C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235C5
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235C5#FFFFFF#000000##FFFFFF
##A235C51.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C9
Deuteranopia (green-blind)
#356DC2
Tritanopia (blue-blind)
#A0537A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a235c5;
/* rgb */ color: rgb(162, 53, 197);
/* oklch */ color: oklch(55.1% 0.221 316.5);
Tailwind
colors: {
  custom: {
    50: '#c277d7',
    500: '#a235c5',
    950: '#000000',
  },
}
SCSS
$custom: #a235c5;
$custom-light: #c277d7;
$custom-dark: #000000;
JSON
{
  "hex": "#a235c5",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 197
  },
  "hsl": {
    "h": 285.417,
    "s": 57.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55094,
    "c": 0.22081,
    "h": 316.5
  },
  "luminance": 0.14259
}

Semantic roles & 50–950 ramp

primary
#A235C5
secondary
#99CD89
accent
#E1476C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A235C5

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

Preview Lab → · Contrast checker → · Palette generator →

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