#A334DD#A334DD

#A334DD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.8% C 0.243 H 310.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A334DD
RGBrgb(163, 52, 221)
HSLhsl(279, 71%, 54%)
HSVhsv(279, 76%, 87%)
CMYKcmyk(26.2%, 76.5%, 0%, 13.3%)
CIE-LABlab(46.26, 69.70, -65.12)
CIE-LCHlch(46.26, 95.39, 316.94°)
OKLaboklab(56.82% 0.1586 -0.1846)
OKLCHoklch(56.82% 0.243 310.7)
XYZxyz(29.3809, 15.4637, 69.8296)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A334DD #6EDD34
analogous
#4E34DD #A334DD #DD34C3
triadic
#A334DD #DDA334 #34DDA3
tetradic
#A334DD #DD4E34 #6EDD34 #34C3DD
square
#A334DD #DD4E34 #6EDD34 #34C3DD
split-complementary
#A334DD #C3DD34 #34DD4E
monochromatic
#5C1681 #821EB5 #A334DD #BB68E6 #D39DEF

Accessibility & contrast

On white

5.13
#A334DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A334DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A334DD
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A334DD#FFFFFF#000000##FFFFFF
##A334DD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#9B5D88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a334dd;
/* rgb */ color: rgb(163, 52, 221);
/* oklch */ color: oklch(56.8% 0.243 310.7);
Tailwind
colors: {
  custom: {
    50: '#c478e9',
    500: '#a334dd',
    950: '#000000',
  },
}
SCSS
$custom: #a334dd;
$custom-light: #c478e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a334dd",
  "rgb": {
    "r": 163,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 279.408,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56815,
    "c": 0.24338,
    "h": 310.7
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#A334DD
secondary
#ABDB92
accent
#EE3A78
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A334DD

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

Preview Lab → · Contrast checker → · Palette generator →

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