#A245DC#A245DC

#A245DC is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.3% C 0.224 H 309.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A245DC
RGBrgb(162, 69, 220)
HSLhsl(277, 68%, 57%)
HSVhsv(277, 69%, 86%)
CMYKcmyk(26.4%, 68.6%, 0%, 13.7%)
CIE-LABlab(48.39, 62.67, -61.11)
CIE-LCHlch(48.39, 87.53, 315.72°)
OKLaboklab(58.27% 0.1416 -0.173)
OKLCHoklch(58.27% 0.224 309.3)
XYZxyz(29.9441, 17.1055, 69.4205)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245DC #7FDC45
analogous
#5745DC #A245DC #DC45CA
triadic
#A245DC #DCA245 #45DCA2
tetradic
#A245DC #DC5745 #7FDC45 #45CADC
square
#A245DC #DC5745 #7FDC45 #45CADC
split-complementary
#A245DC #CADC45 #45DC57
monochromatic
#601A8C #8424C0 #A245DC #BC79E6 #D6ACEF

Accessibility & contrast

On white

4.75
#A245DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A245DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245DC
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245DC#FFFFFF#000000##FFFFFF
##A245DC1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#9A668C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a245dc;
/* rgb */ color: rgb(162, 69, 220);
/* oklch */ color: oklch(58.3% 0.224 309.3);
Tailwind
colors: {
  custom: {
    50: '#c280e8',
    500: '#a245dc',
    950: '#000000',
  },
}
SCSS
$custom: #a245dc;
$custom-light: #c280e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a245dc",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 276.954,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58274,
    "c": 0.22356,
    "h": 309.3
  },
  "luminance": 0.17105
}

Semantic roles & 50–950 ramp

primary
#A245DC
secondary
#B7DDA0
accent
#EB3D80
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A245DC

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

Preview Lab → · Contrast checker → · Palette generator →

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