#A235C8#A235C8

#A235C8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.223 H 315.7°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A235C8
RGBrgb(162, 53, 200)
HSLhsl(284, 58%, 50%)
HSVhsv(284, 74%, 78%)
CMYKcmyk(19%, 73.5%, 0%, 21.6%)
CIE-LABlab(44.80, 64.97, -55.42)
CIE-LCHlch(44.80, 85.40, 319.54°)
OKLaboklab(55.3% 0.1598 -0.1562)
OKLCHoklch(55.3% 0.223 315.7)
XYZxyz(26.5971, 14.3987, 56.0106)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235C8 #5BC835
analogous
#5935C8 #A235C8 #C835A5
triadic
#A235C8 #C8A235 #35C8A2
tetradic
#A235C8 #C85935 #5BC835 #35A5C8
square
#A235C8 #C85935 #5BC835 #35A5C8
split-complementary
#A235C8 #A5C835 #35C859
monochromatic
#541B67 #7B2898 #A235C8 #B964D6 #CF95E3

Accessibility & contrast

On white

5.41
#A235C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#A235C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235C8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235C8#FFFFFF#000000##FFFFFF
##A235C81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#9F557C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #a235c8;
/* rgb */ color: rgb(162, 53, 200);
/* oklch */ color: oklch(55.3% 0.223 315.7);
Tailwind
colors: {
  custom: {
    50: '#c277d9',
    500: '#a235c8',
    950: '#000000',
  },
}
SCSS
$custom: #a235c8;
$custom-light: #c277d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a235c8",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 200
  },
  "hsl": {
    "h": 284.49,
    "s": 58.103,
    "l": 49.608
  },
  "oklch": {
    "l": 0.55296,
    "c": 0.22345,
    "h": 315.7
  },
  "luminance": 0.14398
}

Semantic roles & 50–950 ramp

primary
#A235C8
secondary
#9CCE8B
accent
#E1466F
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A235C8

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

Preview Lab → · Contrast checker → · Palette generator →

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