#A234DD#A234DD

#A234DD is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.7% C 0.243 H 310.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A234DD
RGBrgb(162, 52, 221)
HSLhsl(279, 71%, 54%)
HSVhsv(279, 76%, 87%)
CMYKcmyk(26.7%, 76.5%, 0%, 13.3%)
CIE-LABlab(46.12, 69.53, -65.36)
CIE-LCHlch(46.12, 95.42, 316.77°)
OKLaboklab(56.69% 0.1573 -0.1853)
OKLCHoklch(56.69% 0.243 310.3)
XYZxyz(29.1769, 15.3585, 69.8201)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A234DD #6FDD34
analogous
#4D34DD #A234DD #DD34C4
triadic
#A234DD #DDA234 #34DDA2
tetradic
#A234DD #DD4D34 #6FDD34 #34C4DD
square
#A234DD #DD4D34 #6FDD34 #34C4DD
split-complementary
#A234DD #C4DD34 #34DD4D
monochromatic
#5C1681 #811EB5 #A234DD #BA68E6 #D29DEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A234DD#FFFFFF#000000##FFFFFF
##A234DD1.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)
#0069E2
Deuteranopia (green-blind)
#006FDA
Tritanopia (blue-blind)
#9A5D88
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a234dd;
/* rgb */ color: rgb(162, 52, 221);
/* oklch */ color: oklch(56.7% 0.243 310.3);
Tailwind
colors: {
  custom: {
    50: '#c377e9',
    500: '#a234dd',
    950: '#000000',
  },
}
SCSS
$custom: #a234dd;
$custom-light: #c377e9;
$custom-dark: #000000;
JSON
{
  "hex": "#a234dd",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 221
  },
  "hsl": {
    "h": 279.053,
    "s": 71.308,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56686,
    "c": 0.2431,
    "h": 310.3
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A234DD

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

Preview Lab → · Contrast checker → · Palette generator →

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