#A245E0#A245E0

#A245E0 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.227 H 308.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#A245E0
RGBrgb(162, 69, 224)
HSLhsl(276, 71%, 57%)
HSVhsv(276, 69%, 88%)
CMYKcmyk(27.7%, 69.2%, 0%, 12.2%)
CIE-LABlab(48.66, 63.53, -62.96)
CIE-LCHlch(48.66, 89.44, 315.26°)
OKLaboklab(58.55% 0.1412 -0.1784)
OKLCHoklch(58.55% 0.227 308.4)
XYZxyz(30.4802, 17.3199, 72.2439)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245E0 #83E045
analogous
#5445E0 #A245E0 #E045D1
triadic
#A245E0 #E0A245 #45E0A2
tetradic
#A245E0 #E05445 #83E045 #45D1E0
square
#A245E0 #E05445 #83E045 #45D1E0
split-complementary
#A245E0 #D1E045 #45E054
monochromatic
#611892 #8421C7 #A245E0 #BC79E9 #D6AEF1

Accessibility & contrast

On white

4.70
#A245E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A245E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A245E0
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245E0#FFFFFF#000000##FFFFFF
##A245E01.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#1F75DD
Tritanopia (blue-blind)
#98688E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a245e0;
/* rgb */ color: rgb(162, 69, 224);
/* oklch */ color: oklch(58.6% 0.227 308.4);
Tailwind
colors: {
  custom: {
    50: '#c280eb',
    500: '#a245e0',
    950: '#000000',
  },
}
SCSS
$custom: #a245e0;
$custom-light: #c280eb;
$custom-dark: #000000;
JSON
{
  "hex": "#a245e0",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 224
  },
  "hsl": {
    "h": 276,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5855,
    "c": 0.22748,
    "h": 308.4
  },
  "luminance": 0.17319
}

Semantic roles & 50–950 ramp

primary
#A245E0
secondary
#BAE0A1
accent
#EE3A82
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A245E0

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

Preview Lab → · Contrast checker → · Palette generator →

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