#A334DF#A334DF

#A334DF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 57.0% C 0.245 H 310.2°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A334DF
RGBrgb(163, 52, 223)
HSLhsl(279, 73%, 54%)
HSVhsv(279, 77%, 87%)
CMYKcmyk(26.9%, 76.7%, 0%, 12.5%)
CIE-LABlab(46.41, 70.11, -66.03)
CIE-LCHlch(46.41, 96.31, 316.71°)
OKLaboklab(56.96% 0.1582 -0.1873)
OKLCHoklch(56.96% 0.245 310.2)
XYZxyz(29.6489, 15.5709, 71.2413)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334DF #70DF34
analogous
#4E34DF #A334DF #DF34C6
triadic
#A334DF #DFA334 #34DFA3
tetradic
#A334DF #DF4E34 #70DF34 #34C6DF
square
#A334DF #DF4E34 #70DF34 #34C6DF
split-complementary
#A334DF #C6DF34 #34DF4E
monochromatic
#5D1584 #821DB9 #A334DF #BB69E7 #D39EF0

Accessibility & contrast

On white

5.10
#A334DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A334DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334DF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334DF#FFFFFF#000000##FFFFFF
##A334DF1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#9A5E89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a334df;
/* rgb */ color: rgb(163, 52, 223);
/* oklch */ color: oklch(57.0% 0.245 310.2);
Tailwind
colors: {
  custom: {
    50: '#c478ea',
    500: '#a334df',
    950: '#000000',
  },
}
SCSS
$custom: #a334df;
$custom-light: #c478ea;
$custom-dark: #000000;
JSON
{
  "hex": "#a334df",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 223
  },
  "hsl": {
    "h": 278.947,
    "s": 72.766,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.24515,
    "h": 310.2
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#A334DF
secondary
#ADDC93
accent
#EF3879
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A334DF

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

Preview Lab → · Contrast checker → · Palette generator →

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