#A245F0#A245F0

#A245F0 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.7% C 0.243 H 304.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#A245F0
RGBrgb(162, 69, 240)
HSLhsl(273, 85%, 61%)
HSVhsv(273, 71%, 94%)
CMYKcmyk(32.5%, 71.3%, 0%, 5.9%)
CIE-LABlab(49.77, 67.04, -70.18)
CIE-LCHlch(49.77, 97.06, 313.69°)
OKLaboklab(59.69% 0.1388 -0.1996)
OKLCHoklch(59.69% 0.243 304.8)
XYZxyz(32.7530, 18.2291, 84.2142)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245F0 #93F045
analogous
#4C45F0 #A245F0 #F045E8
triadic
#A245F0 #F0A245 #45F0A2
tetradic
#A245F0 #F04C45 #93F045 #45E8F0
square
#A245F0 #F04C45 #93F045 #45E8F0
split-complementary
#A245F0 #E8F045 #45F04C
monochromatic
#640EAD #8512E5 #A245F0 #BE7EF5 #DBB6F9

Accessibility & contrast

On white

4.52
#A245F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#A245F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A245F0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245F0#FFFFFF#000000##000000
##A245F01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074F5
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#936E97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a245f0;
/* rgb */ color: rgb(162, 69, 240);
/* oklch */ color: oklch(59.7% 0.243 304.8);
Tailwind
colors: {
  custom: {
    50: '#c380f6',
    500: '#a245f0',
    950: '#000000',
  },
}
SCSS
$custom: #a245f0;
$custom-light: #c380f6;
$custom-dark: #000000;
JSON
{
  "hex": "#a245f0",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 240
  },
  "hsl": {
    "h": 272.632,
    "s": 85.075,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59691,
    "c": 0.24314,
    "h": 304.8
  },
  "luminance": 0.18229
}

Semantic roles & 50–950 ramp

primary
#A245F0
secondary
#C6E9A8
accent
#E20469
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #A245F0

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

Preview Lab → · Contrast checker → · Palette generator →

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