#A245DD#A245DD

#A245DD is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.225 H 309.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A245DD
RGBrgb(162, 69, 221)
HSLhsl(277, 69%, 57%)
HSVhsv(277, 69%, 87%)
CMYKcmyk(26.7%, 68.8%, 0%, 13.3%)
CIE-LABlab(48.46, 62.88, -61.58)
CIE-LCHlch(48.46, 88.01, 315.60°)
OKLaboklab(58.34% 0.1415 -0.1743)
OKLCHoklch(58.34% 0.225 309.1)
XYZxyz(30.0769, 17.1586, 70.1201)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245DD #80DD45
analogous
#5645DD #A245DD #DD45CC
triadic
#A245DD #DDA245 #45DDA2
tetradic
#A245DD #DD5645 #80DD45 #45CCDD
square
#A245DD #DD5645 #80DD45 #45CCDD
split-complementary
#A245DD #CCDD45 #45DD56
monochromatic
#611A8E #8423C1 #A245DD #BC79E6 #D6ACF0

Accessibility & contrast

On white

4.74
#A245DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#A245DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245DD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245DD#FFFFFF#000000##FFFFFF
##A245DD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#2674DA
Tritanopia (blue-blind)
#99668C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a245dd;
/* rgb */ color: rgb(162, 69, 221);
/* oklch */ color: oklch(58.3% 0.225 309.1);
Tailwind
colors: {
  custom: {
    50: '#c280e8',
    500: '#a245dd',
    950: '#000000',
  },
}
SCSS
$custom: #a245dd;
$custom-light: #c280e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a245dd",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 276.711,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.22455,
    "h": 309.1
  },
  "luminance": 0.17158
}

Semantic roles & 50–950 ramp

primary
#A245DD
secondary
#B8DEA0
accent
#EC3C80
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A245DD

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

Preview Lab → · Contrast checker → · Palette generator →

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