#A238B0#A238B0

#A238B0 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.1% C 0.199 H 322.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#A238B0
RGBrgb(162, 56, 176)
HSLhsl(293, 52%, 45%)
HSVhsv(293, 68%, 69%)
CMYKcmyk(8%, 68.2%, 0%, 31%)
CIE-LABlab(43.72, 59.27, -43.11)
CIE-LCHlch(43.72, 73.29, 323.97°)
OKLaboklab(54.05% 0.1585 -0.1202)
OKLCHoklch(54.05% 0.199 322.8)
XYZxyz(24.1502, 13.6457, 42.4277)
Luminance0.1364 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A238B0 #46B038
analogous
#6638B0 #A238B0 #B03882
triadic
#A238B0 #B0A238 #38B0A2
tetradic
#A238B0 #B06638 #46B038 #3882B0
square
#A238B0 #B06638 #46B038 #3882B0
split-complementary
#A238B0 #82B038 #38B066
monochromatic
#4D1A53 #772982 #A238B0 #BE5BCB #D089D9

Accessibility & contrast

On white

5.63
#A238B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#A238B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A238B0
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A238B0#FFFFFF#000000##FFFFFF
##A238B01.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB3
Deuteranopia (green-blind)
#4A6BAD
Tritanopia (blue-blind)
#A44C70
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #a238b0;
/* rgb */ color: rgb(162, 56, 176);
/* oklch */ color: oklch(54.1% 0.199 322.8);
Tailwind
colors: {
  custom: {
    50: '#c177c8',
    500: '#a238b0',
    950: '#000000',
  },
}
SCSS
$custom: #a238b0;
$custom-light: #c177c8;
$custom-dark: #000000;
JSON
{
  "hex": "#a238b0",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 176
  },
  "hsl": {
    "h": 293,
    "s": 51.724,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54051,
    "c": 0.19887,
    "h": 322.8
  },
  "luminance": 0.13644
}

Semantic roles & 50–950 ramp

primary
#A238B0
secondary
#88C480
accent
#DB4D5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82

Preview Lab

Preview with #A238B0

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

Preview Lab → · Contrast checker → · Palette generator →

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