#A235CC#A235CC

#A235CC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.227 H 314.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A235CC
RGBrgb(162, 53, 204)
HSLhsl(283, 60%, 50%)
HSVhsv(283, 74%, 80%)
CMYKcmyk(20.6%, 74%, 0%, 20%)
CIE-LABlab(45.06, 65.76, -57.31)
CIE-LCHlch(45.06, 87.23, 318.93°)
OKLaboklab(55.57% 0.1593 -0.1617)
OKLCHoklch(55.57% 0.227 314.6)
XYZxyz(27.0707, 14.5882, 58.5048)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235CC #5FCC35
analogous
#5635CC #A235CC #CC35AB
triadic
#A235CC #CCA235 #35CCA2
tetradic
#A235CC #CC5635 #5FCC35 #35ABCC
square
#A235CC #CC5635 #5FCC35 #35ABCC
split-complementary
#A235CC #ABCC35 #35CC56
monochromatic
#551B6B #7C279C #A235CC #B866D8 #CF97E5

Accessibility & contrast

On white

5.36
#A235CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#A235CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235CC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235CC#FFFFFF#000000##FFFFFF
##A235CC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#9E567E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #a235cc;
/* rgb */ color: rgb(162, 53, 204);
/* oklch */ color: oklch(55.6% 0.227 314.6);
Tailwind
colors: {
  custom: {
    50: '#c277dc',
    500: '#a235cc',
    950: '#000000',
  },
}
SCSS
$custom: #a235cc;
$custom-light: #c277dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a235cc",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 204
  },
  "hsl": {
    "h": 283.311,
    "s": 59.684,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55568,
    "c": 0.22699,
    "h": 314.6
  },
  "luminance": 0.14587
}

Semantic roles & 50–950 ramp

primary
#A235CC
secondary
#9FD08D
accent
#E34571
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83

Preview Lab

Preview with #A235CC

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

Preview Lab → · Contrast checker → · Palette generator →

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