#A45FEB#A45FEB

#A45FEB is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.8% C 0.205 H 303.7°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#A45FEB
RGBrgb(164, 95, 235)
HSLhsl(270, 78%, 65%)
HSVhsv(270, 60%, 92%)
CMYKcmyk(30.2%, 59.6%, 0%, 7.8%)
CIE-LABlab(54.11, 54.12, -60.37)
CIE-LCHlch(54.11, 81.07, 311.88°)
OKLaboklab(62.75% 0.1141 -0.1708)
OKLCHoklch(62.75% 0.205 303.7)
XYZxyz(34.3941, 22.0752, 81.0301)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FEB #A6EB5F
analogous
#5F60EB #A45FEB #EA5FEB
triadic
#A45FEB #EBA45F #5FEBA4
tetradic
#A45FEB #EB5F60 #A6EB5F #5FEBEA
square
#A45FEB #EB5F60 #A6EB5F #5FEBEA
split-complementary
#A45FEB #EBEA5F #60EB5F
monochromatic
#6717B9 #8529E4 #A45FEB #C395F2 #E2CCF9

Accessibility & contrast

On white

3.88
#A45FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#A45FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FEB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FEB#FFFFFF#000000##000000
##A45FEB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1480EF
Deuteranopia (green-blind)
#3C81E8
Tritanopia (blue-blind)
#977C9C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45feb;
/* rgb */ color: rgb(164, 95, 235);
/* oklch */ color: oklch(62.8% 0.205 303.7);
Tailwind
colors: {
  custom: {
    50: '#c38ff2',
    500: '#a45feb',
    950: '#000000',
  },
}
SCSS
$custom: #a45feb;
$custom-light: #c38ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45feb",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 269.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.62754,
    "c": 0.20545,
    "h": 303.7
  },
  "luminance": 0.22075
}

Semantic roles & 50–950 ramp

primary
#A45FEB
secondary
#D3EBBB
accent
#DA0B74
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #A45FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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