#A235BF#A235BF

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

Color values

HEX#A235BF
RGBrgb(162, 53, 191)
HSLhsl(287, 57%, 48%)
HSVhsv(287, 72%, 75%)
CMYKcmyk(15.2%, 72.3%, 0%, 25.1%)
CIE-LABlab(44.22, 63.24, -51.12)
CIE-LCHlch(44.22, 81.32, 321.05°)
OKLaboklab(54.7% 0.1608 -0.1436)
OKLCHoklch(54.7% 0.216 318.2)
XYZxyz(25.5761, 13.9903, 50.6333)
Luminance0.1399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A235BF #52BF35
analogous
#5D35BF #A235BF #BF3597
triadic
#A235BF #BFA235 #35BFA2
tetradic
#A235BF #BF5D35 #52BF35 #3597BF
square
#A235BF #BF5D35 #52BF35 #3597BF
split-complementary
#A235BF #97BF35 #35BF5D
monochromatic
#511A5F #79288F #A235BF #BA5FD3 #CF8FE0

Accessibility & contrast

On white

5.53
#A235BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#A235BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A235BF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A235BF#FFFFFF#000000##FFFFFF
##A235BF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#3C6CBC
Tritanopia (blue-blind)
#A15177
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #a235bf;
/* rgb */ color: rgb(162, 53, 191);
/* oklch */ color: oklch(54.7% 0.216 318.2);
Tailwind
colors: {
  custom: {
    50: '#c177d3',
    500: '#a235bf',
    950: '#000000',
  },
}
SCSS
$custom: #a235bf;
$custom-light: #c177d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a235bf",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 191
  },
  "hsl": {
    "h": 287.391,
    "s": 56.557,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54699,
    "c": 0.21554,
    "h": 318.2
  },
  "luminance": 0.13989
}

Semantic roles & 50–950 ramp

primary
#A235BF
secondary
#94CA85
accent
#E04868
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #A235BF

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

Preview Lab → · Contrast checker → · Palette generator →

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