#A038DF#A038DF

#A038DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.9% C 0.240 H 308.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A038DF
RGBrgb(160, 56, 223)
HSLhsl(277, 72%, 55%)
HSVhsv(277, 75%, 87%)
CMYKcmyk(28.3%, 74.9%, 0%, 12.5%)
CIE-LABlab(46.49, 68.15, -65.92)
CIE-LCHlch(46.49, 94.82, 315.95°)
OKLaboklab(56.93% 0.151 -0.1871)
OKLCHoklch(56.93% 0.24 308.9)
XYZxyz(29.2279, 15.6302, 71.2749)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A038DF #77DF38
analogous
#4D38DF #A038DF #DF38CB
triadic
#A038DF #DFA038 #38DFA0
tetradic
#A038DF #DF4D38 #77DF38 #38CBDF
square
#A038DF #DF4D38 #77DF38 #38CBDF
split-complementary
#A038DF #CBDF38 #38DF4D
monochromatic
#5C1687 #801EBC #A038DF #B96DE7 #D2A1F0

Accessibility & contrast

On white

5.09
#A038DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#A038DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A038DF
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A038DF#FFFFFF#000000##FFFFFF
##A038DF1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE4
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#96608A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a038df;
/* rgb */ color: rgb(160, 56, 223);
/* oklch */ color: oklch(56.9% 0.240 308.9);
Tailwind
colors: {
  custom: {
    50: '#c279ea',
    500: '#a038df',
    950: '#000000',
  },
}
SCSS
$custom: #a038df;
$custom-light: #c279ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a038df",
  "rgb": {
    "r": 160,
    "g": 56,
    "b": 223
  },
  "hsl": {
    "h": 277.365,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5693,
    "c": 0.2404,
    "h": 308.9
  },
  "luminance": 0.1563
}

Semantic roles & 50–950 ramp

primary
#A038DF
secondary
#B1DD96
accent
#EF397E
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A038DF

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

Preview Lab → · Contrast checker → · Palette generator →

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