#A245D2#A245D2

#A245D2 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.6% C 0.214 H 311.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A245D2
RGBrgb(162, 69, 210)
HSLhsl(280, 61%, 55%)
HSVhsv(280, 67%, 82%)
CMYKcmyk(22.9%, 67.1%, 0%, 17.6%)
CIE-LABlab(47.74, 60.54, -56.45)
CIE-LCHlch(47.74, 82.77, 317.00°)
OKLaboklab(57.6% 0.1426 -0.1593)
OKLCHoklch(57.6% 0.214 311.8)
XYZxyz(28.6591, 16.5915, 62.6530)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245D2 #75D245
analogous
#5B45D2 #A245D2 #D245BC
triadic
#A245D2 #D2A245 #45D2A2
tetradic
#A245D2 #D25B45 #75D245 #45BCD2
square
#A245D2 #D25B45 #75D245 #45BCD2
split-complementary
#A245D2 #BCD245 #45D25B
monochromatic
#5E1F7E #822AAF #A245D2 #BB76DE #D3A8EA

Accessibility & contrast

On white

4.86
#A245D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#A245D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245D2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245D2#FFFFFF#000000##FFFFFF
##A245D21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#3673CF
Tritanopia (blue-blind)
#9C6286
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #a245d2;
/* rgb */ color: rgb(162, 69, 210);
/* oklch */ color: oklch(57.6% 0.214 311.8);
Tailwind
colors: {
  custom: {
    50: '#c27fe0',
    500: '#a245d2',
    950: '#000000',
  },
}
SCSS
$custom: #a245d2;
$custom-light: #c27fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#a245d2",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 279.574,
    "s": 61.039,
    "l": 54.706
  },
  "oklch": {
    "l": 0.576,
    "c": 0.2138,
    "h": 311.8
  },
  "luminance": 0.16591
}

Semantic roles & 50–950 ramp

primary
#A245D2
secondary
#B0D79C
accent
#E4447A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A245D2

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

Preview Lab → · Contrast checker → · Palette generator →

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