#A738CA#A738CA

#A738CA is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.4% C 0.224 H 316.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A738CA
RGBrgb(167, 56, 202)
HSLhsl(286, 58%, 51%)
HSVhsv(286, 72%, 79%)
CMYKcmyk(17.3%, 72.3%, 0%, 20.8%)
CIE-LABlab(46.05, 65.25, -54.52)
CIE-LCHlch(46.05, 85.03, 320.12°)
OKLaboklab(56.38% 0.1629 -0.1534)
OKLCHoklch(56.38% 0.224 316.7)
XYZxyz(28.0096, 15.3093, 57.3452)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A738CA #5BCA38
analogous
#5E38CA #A738CA #CA38A4
triadic
#A738CA #CAA738 #38CAA7
tetradic
#A738CA #CA5E38 #5BCA38 #38A4CA
square
#A738CA #CA5E38 #5BCA38 #38A4CA
split-complementary
#A738CA #A4CA38 #38CA5E
monochromatic
#581D6B #80299B #A738CA #BC68D7 #D299E4

Accessibility & contrast

On white

5.17
#A738CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A738CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A738CA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A738CA#FFFFFF#000000##FFFFFF
##A738CA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#3970C7
Tritanopia (blue-blind)
#A5567E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a738ca;
/* rgb */ color: rgb(167, 56, 202);
/* oklch */ color: oklch(56.4% 0.224 316.7);
Tailwind
colors: {
  custom: {
    50: '#c579db',
    500: '#a738ca',
    950: '#000000',
  },
}
SCSS
$custom: #a738ca;
$custom-light: #c579db;
$custom-dark: #000000;
JSON
{
  "hex": "#a738ca",
  "rgb": {
    "r": 167,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 285.616,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56378,
    "c": 0.22373,
    "h": 316.7
  },
  "luminance": 0.15308
}

Semantic roles & 50–950 ramp

primary
#A738CA
secondary
#9ECF8E
accent
#E1476C
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A738CA

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

Preview Lab → · Contrast checker → · Palette generator →

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