#A145FF#A145FF

#A145FF is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.7% C 0.258 H 301.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A145FF
RGBrgb(161, 69, 255)
HSLhsl(270, 100%, 64%)
HSVhsv(270, 73%, 100%)
CMYKcmyk(36.9%, 72.9%, 0%, 0%)
CIE-LABlab(50.75, 70.23, -76.98)
CIE-LCHlch(50.75, 104.20, 312.38°)
OKLaboklab(60.7% 0.1346 -0.2196)
OKLCHoklch(60.7% 0.258 301.5)
XYZxyz(34.8717, 19.0531, 96.4288)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145FF #A3FF45
analogous
#4546FF #A145FF #FE45FF
triadic
#A145FF #FFA145 #45FFA1
tetradic
#A145FF #FF4546 #A3FF45 #45FFFE
square
#A145FF #FF4546 #A3FF45 #45FFFE
split-complementary
#A145FF #FFFE45 #46FF45
monochromatic
#6400CA #8208FF #A145FF #C082FF #DFBFFF

Accessibility & contrast

On white

4.37
#A145FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A145FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A145FF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145FF#FFFFFF#000000##000000
##A145FF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a145ff;
/* rgb */ color: rgb(161, 69, 255);
/* oklch */ color: oklch(60.7% 0.258 301.5);
Tailwind
colors: {
  custom: {
    50: '#c481ff',
    500: '#a145ff',
    950: '#000000',
  },
}
SCSS
$custom: #a145ff;
$custom-light: #c481ff;
$custom-dark: #000000;
JSON
{
  "hex": "#a145ff",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 255
  },
  "hsl": {
    "h": 269.677,
    "s": 100,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.2576,
    "h": 301.5
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A145FF

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

Preview Lab → · Contrast checker → · Palette generator →

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