#A245DA#A245DA

#A245DA is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.1% C 0.222 H 309.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A245DA
RGBrgb(162, 69, 218)
HSLhsl(277, 67%, 56%)
HSVhsv(277, 68%, 85%)
CMYKcmyk(25.7%, 68.3%, 0%, 14.5%)
CIE-LABlab(48.26, 62.24, -60.19)
CIE-LCHlch(48.26, 86.58, 315.96°)
OKLaboklab(58.14% 0.1419 -0.1703)
OKLCHoklch(58.14% 0.222 309.8)
XYZxyz(29.6808, 17.0002, 68.0339)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245DA #7DDA45
analogous
#5845DA #A245DA #DA45C7
triadic
#A245DA #DAA245 #45DAA2
tetradic
#A245DA #DA5845 #7DDA45 #45C7DA
square
#A245DA #DA5845 #7DDA45 #45C7DA
split-complementary
#A245DA #C7DA45 #45DA58
monochromatic
#601B89 #8425BC #A245DA #BC78E4 #D5ABEE

Accessibility & contrast

On white

4.77
#A245DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A245DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245DA
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245DA#FFFFFF#000000##FFFFFF
##A245DA1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#2B74D7
Tritanopia (blue-blind)
#9A658A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a245da;
/* rgb */ color: rgb(162, 69, 218);
/* oklch */ color: oklch(58.1% 0.222 309.8);
Tailwind
colors: {
  custom: {
    50: '#c280e6',
    500: '#a245da',
    950: '#000000',
  },
}
SCSS
$custom: #a245da;
$custom-light: #c280e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a245da",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 218
  },
  "hsl": {
    "h": 277.45,
    "s": 66.816,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.22161,
    "h": 309.8
  },
  "luminance": 0.17
}

Semantic roles & 50–950 ramp

primary
#A245DA
secondary
#B6DC9F
accent
#EA3E7F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A245DA

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

Preview Lab → · Contrast checker → · Palette generator →

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