#A538CF#A538CF

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

Color values

HEX#A538CF
RGBrgb(165, 56, 207)
HSLhsl(283, 61%, 52%)
HSVhsv(283, 73%, 81%)
CMYKcmyk(20.3%, 72.9%, 0%, 18.8%)
CIE-LABlab(46.09, 65.83, -57.37)
CIE-LCHlch(46.09, 87.32, 318.93°)
OKLaboklab(56.45% 0.1598 -0.1618)
OKLCHoklch(56.45% 0.227 314.7)
XYZxyz(28.1918, 15.3337, 60.4940)
Luminance0.1533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A538CF #62CF38
analogous
#5A38CF #A538CF #CF38AE
triadic
#A538CF #CFA538 #38CFA5
tetradic
#A538CF #CF5A38 #62CF38 #38AECF
square
#A538CF #CF5A38 #62CF38 #38AECF
split-complementary
#A538CF #AECF38 #38CF5A
monochromatic
#591B71 #8027A3 #A538CF #BB69DB #D29BE7

Accessibility & contrast

On white

5.16
#A538CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A538CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A538CF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A538CF#FFFFFF#000000##FFFFFF
##A538CF1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#3070CC
Tritanopia (blue-blind)
#A15981
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a538cf;
/* rgb */ color: rgb(165, 56, 207);
/* oklch */ color: oklch(56.4% 0.227 314.7);
Tailwind
colors: {
  custom: {
    50: '#c479de',
    500: '#a538cf',
    950: '#000000',
  },
}
SCSS
$custom: #a538cf;
$custom-light: #c479de;
$custom-dark: #000000;
JSON
{
  "hex": "#a538cf",
  "rgb": {
    "r": 165,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 283.311,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56446,
    "c": 0.22744,
    "h": 314.7
  },
  "luminance": 0.15333
}

Semantic roles & 50–950 ramp

primary
#A538CF
secondary
#A3D390
accent
#E44470
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A538CF

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

Preview Lab → · Contrast checker → · Palette generator →

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