#A235D7#A235D7

#A235D7 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.237 H 311.7°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A235D7
RGBrgb(162, 53, 215)
HSLhsl(280, 67%, 53%)
HSVhsv(280, 75%, 84%)
CMYKcmyk(24.7%, 75.3%, 0%, 15.7%)
CIE-LABlab(45.82, 67.96, -62.42)
CIE-LCHlch(45.82, 92.27, 317.43°)
OKLaboklab(56.34% 0.1576 -0.1767)
OKLCHoklch(56.34% 0.237 311.7)
XYZxyz(28.4368, 15.1346, 65.7001)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235D7 #6AD735
analogous
#5135D7 #A235D7 #D735BB
triadic
#A235D7 #D7A235 #35D7A2
tetradic
#A235D7 #D75135 #6AD735 #35BBD7
square
#A235D7 #D75135 #6AD735 #35BBD7
split-complementary
#A235D7 #BBD735 #35D751
monochromatic
#5A187A #7F22AD #A235D7 #BA68E1 #D19BEB

Accessibility & contrast

On white

5.22
#A235D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#A235D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235D7
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235D7#FFFFFF#000000##FFFFFF
##A235D71.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#176ED4
Tritanopia (blue-blind)
#9B5B85
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a235d7;
/* rgb */ color: rgb(162, 53, 215);
/* oklch */ color: oklch(56.3% 0.237 311.7);
Tailwind
colors: {
  custom: {
    50: '#c378e4',
    500: '#a235d7',
    950: '#000000',
  },
}
SCSS
$custom: #a235d7;
$custom-light: #c378e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a235d7",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 215
  },
  "hsl": {
    "h": 280.37,
    "s": 66.942,
    "l": 52.549
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.23677,
    "h": 311.7
  },
  "luminance": 0.15134
}

Semantic roles & 50–950 ramp

primary
#A235D7
secondary
#A8D791
accent
#EA3E76
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A235D7

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

Preview Lab → · Contrast checker → · Palette generator →

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