#A45BF2#A45BF2

#A45BF2 is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.7% C 0.219 H 302.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A45BF2
RGBrgb(164, 91, 242)
HSLhsl(269, 85%, 65%)
HSVhsv(269, 62%, 95%)
CMYKcmyk(32.2%, 62.4%, 0%, 5.1%)
CIE-LABlab(53.80, 57.78, -64.78)
CIE-LCHlch(53.80, 86.80, 311.73°)
OKLaboklab(62.67% 0.1184 -0.1838)
OKLCHoklch(62.67% 0.219 302.8)
XYZxyz(35.0742, 21.7855, 86.3444)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BF2 #A9F25B
analogous
#5B5DF2 #A45BF2 #F05BF2
triadic
#A45BF2 #F2A45B #5BF2A4
tetradic
#A45BF2 #F25B5D #A9F25B #5BF2F0
square
#A45BF2 #F25B5D #A9F25B #5BF2F0
split-complementary
#A45BF2 #F2F05B #5DF25B
monochromatic
#660FC3 #8522EE #A45BF2 #C394F6 #E3CCFB

Accessibility & contrast

On white

3.92
#A45BF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#A45BF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BF2
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BF2#FFFFFF#000000##000000
##A45BF21.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF7
Deuteranopia (green-blind)
#2B80EF
Tritanopia (blue-blind)
#957B9E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45bf2;
/* rgb */ color: rgb(164, 91, 242);
/* oklch */ color: oklch(62.7% 0.219 302.8);
Tailwind
colors: {
  custom: {
    50: '#c48df7',
    500: '#a45bf2',
    950: '#000000',
  },
}
SCSS
$custom: #a45bf2;
$custom-light: #c48df7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bf2",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 269.007,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6267,
    "c": 0.21863,
    "h": 302.8
  },
  "luminance": 0.21785
}

Semantic roles & 50–950 ramp

primary
#A45BF2
secondary
#D5EEBB
accent
#E20476
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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