#A738CC#A738CC

#A738CC is a mid, highly saturated purple. Relative luminance 0.154; OKLCH L 56.5% C 0.225 H 316.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A738CC
RGBrgb(167, 56, 204)
HSLhsl(285, 59%, 51%)
HSVhsv(285, 73%, 80%)
CMYKcmyk(18.1%, 72.5%, 0%, 20%)
CIE-LABlab(46.18, 65.64, -55.47)
CIE-LCHlch(46.18, 85.94, 319.80°)
OKLaboklab(56.51% 0.1627 -0.1562)
OKLCHoklch(56.51% 0.225 316.2)
XYZxyz(28.2479, 15.4046, 58.6004)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A738CC #5DCC38
analogous
#5D38CC #A738CC #CC38A7
triadic
#A738CC #CCA738 #38CCA7
tetradic
#A738CC #CC5D38 #5DCC38 #38A7CC
square
#A738CC #CC5D38 #5DCC38 #38A7CC
split-complementary
#A738CC #A7CC38 #38CC5D
monochromatic
#591C6E #81299E #A738CC #BD69D8 #D299E5

Accessibility & contrast

On white

5.15
#A738CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A738CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A738CC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A738CC#FFFFFF#000000##FFFFFF
##A738CC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#3770C9
Tritanopia (blue-blind)
#A5577F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a738cc;
/* rgb */ color: rgb(167, 56, 204);
/* oklch */ color: oklch(56.5% 0.225 316.2);
Tailwind
colors: {
  custom: {
    50: '#c579dc',
    500: '#a738cc',
    950: '#000000',
  },
}
SCSS
$custom: #a738cc;
$custom-light: #c579dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a738cc",
  "rgb": {
    "r": 167,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 285,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5651,
    "c": 0.22549,
    "h": 316.2
  },
  "luminance": 0.15403
}

Semantic roles & 50–950 ramp

primary
#A738CC
secondary
#A0D18F
accent
#E2456D
background
#FCF7FD
surface
#F9EEFB
border
#D2C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A738CC

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

Preview Lab → · Contrast checker → · Palette generator →

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