#A245FF#A245FF

#A245FF is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.8% C 0.258 H 301.8°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#A245FF
RGBrgb(162, 69, 255)
HSLhsl(270, 100%, 64%)
HSVhsv(270, 73%, 100%)
CMYKcmyk(36.5%, 72.9%, 0%, 0%)
CIE-LABlab(50.87, 70.40, -76.78)
CIE-LCHlch(50.87, 104.17, 312.52°)
OKLaboklab(60.81% 0.1359 -0.219)
OKLCHoklch(60.81% 0.258 301.8)
XYZxyz(35.0741, 19.1575, 96.4383)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A245FF #A2FF45
analogous
#4545FF #A245FF #FF45FF
triadic
#A245FF #FFA245 #45FFA2
tetradic
#A245FF #FF4545 #A2FF45 #45FFFF
square
#A245FF #FF4545 #A2FF45 #45FFFF
split-complementary
#A245FF #FFFF45 #45FF45
monochromatic
#6500CA #8308FF #A245FF #C182FF #DFBFFF

Accessibility & contrast

On white

4.35
#A245FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#A245FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A245FF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A245FF#FFFFFF#000000##000000
##A245FF1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078FF
Deuteranopia (green-blind)
#0078FB
Tritanopia (blue-blind)
#8E749F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a245ff;
/* rgb */ color: rgb(162, 69, 255);
/* oklch */ color: oklch(60.8% 0.258 301.8);
Tailwind
colors: {
  custom: {
    50: '#c581ff',
    500: '#a245ff',
    950: '#000000',
  },
}
SCSS
$custom: #a245ff;
$custom-light: #c581ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a245ff",
  "rgb": {
    "r": 162,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 270,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60811,
    "c": 0.25777,
    "h": 301.8
  },
  "luminance": 0.19158
}

Semantic roles & 50–950 ramp

primary
#A245FF
secondary
#D0F1AF
accent
#E60073
background
#FCF8FF
surface
#F9EFFF
border
#D2CAD7
text
#140B18
muted
#827C86

Preview Lab

Preview with #A245FF

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

Preview Lab → · Contrast checker → · Palette generator →

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