#A233D6#A233D6

#A233D6 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.1% C 0.238 H 312.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A233D6
RGBrgb(162, 51, 214)
HSLhsl(281, 67%, 52%)
HSVhsv(281, 76%, 84%)
CMYKcmyk(24.3%, 76.2%, 0%, 16.1%)
CIE-LABlab(45.50, 68.46, -62.36)
CIE-LCHlch(45.50, 92.60, 317.67°)
OKLaboklab(56.09% 0.1595 -0.1765)
OKLCHoklch(56.09% 0.238 312.1)
XYZxyz(28.2195, 14.9049, 64.9957)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A233D6 #67D633
analogous
#5133D6 #A233D6 #D633B9
triadic
#A233D6 #D6A233 #33D6A2
tetradic
#A233D6 #D65133 #67D633 #33B9D6
square
#A233D6 #D65133 #67D633 #33B9D6
split-complementary
#A233D6 #B9D633 #33D651
monochromatic
#581877 #7E22AA #A233D6 #B966E0 #D099EA

Accessibility & contrast

On white

5.28
#A233D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#A233D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A233D6
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A233D6#FFFFFF#000000##FFFFFF
##A233D61.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#166ED3
Tritanopia (blue-blind)
#9C5A84
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a233d6;
/* rgb */ color: rgb(162, 51, 214);
/* oklch */ color: oklch(56.1% 0.238 312.1);
Tailwind
colors: {
  custom: {
    50: '#c377e4',
    500: '#a233d6',
    950: '#000000',
  },
}
SCSS
$custom: #a233d6;
$custom-light: #c377e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a233d6",
  "rgb": {
    "r": 162,
    "g": 51,
    "b": 214
  },
  "hsl": {
    "h": 280.859,
    "s": 66.531,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56095,
    "c": 0.23787,
    "h": 312.1
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#A233D6
secondary
#A5D68F
accent
#E93E75
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130916
muted
#827B84

Preview Lab

Preview with #A233D6

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

Preview Lab → · Contrast checker → · Palette generator →

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