#A245D6#A245D6

#A245D6 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.218 H 310.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A245D6
RGBrgb(162, 69, 214)
HSLhsl(278, 64%, 55%)
HSVhsv(278, 68%, 84%)
CMYKcmyk(24.3%, 67.8%, 0%, 16.1%)
CIE-LABlab(48.00, 61.38, -58.33)
CIE-LCHlch(48.00, 84.68, 316.46°)
OKLaboklab(57.87% 0.1423 -0.1648)
OKLCHoklch(57.87% 0.218 310.8)
XYZxyz(29.1637, 16.7933, 65.3104)
Luminance0.1679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245D6 #79D645
analogous
#5945D6 #A245D6 #D645C1
triadic
#A245D6 #D6A245 #45D6A2
tetradic
#A245D6 #D65945 #79D645 #45C1D6
square
#A245D6 #D65945 #79D645 #45C1D6
split-complementary
#A245D6 #C1D645 #45D659
monochromatic
#5F1D84 #8328B6 #A245D6 #BB77E1 #D4A9EC

Accessibility & contrast

On white

4.82
#A245D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#A245D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245D6
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245D6#FFFFFF#000000##FFFFFF
##A245D61.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#3174D3
Tritanopia (blue-blind)
#9B6488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a245d6;
/* rgb */ color: rgb(162, 69, 214);
/* oklch */ color: oklch(57.9% 0.218 310.8);
Tailwind
colors: {
  custom: {
    50: '#c27fe3',
    500: '#a245d6',
    950: '#000000',
  },
}
SCSS
$custom: #a245d6;
$custom-light: #c27fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#a245d6",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 278.483,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57867,
    "c": 0.21771,
    "h": 310.8
  },
  "luminance": 0.16793
}

Semantic roles & 50–950 ramp

primary
#A245D6
secondary
#B3DA9D
accent
#E7417C
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A245D6

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

Preview Lab → · Contrast checker → · Palette generator →

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