#B45AF1#B45AF1

#B45AF1 is a light, highly saturated violet. Relative luminance 0.234; OKLCH L 64.3% C 0.223 H 308.9°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#B45AF1
RGBrgb(180, 90, 241)
HSLhsl(276, 84%, 65%)
HSVhsv(276, 63%, 95%)
CMYKcmyk(25.3%, 62.7%, 0%, 5.5%)
CIE-LABlab(55.45, 61.51, -61.47)
CIE-LCHlch(55.45, 86.96, 315.02°)
OKLaboklab(64.26% 0.1399 -0.1735)
OKLCHoklch(64.26% 0.223 308.9)
XYZxyz(38.3526, 23.3671, 85.6919)
Luminance0.2337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AF1 #97F15A
analogous
#695AF1 #B45AF1 #F15AE2
triadic
#B45AF1 #F1B45A #5AF1B4
tetradic
#B45AF1 #F1695A #97F15A #5AE2F1
square
#B45AF1 #F1695A #97F15A #5AE2F1
split-complementary
#B45AF1 #E2F15A #5AF169
monochromatic
#7910C0 #9A22EC #B45AF1 #CE92F6 #E7CBFB

Accessibility & contrast

On white

3.70
#B45AF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#B45AF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AF1
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AF1#FFFFFF#000000##000000
##B45AF11.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F6
Deuteranopia (green-blind)
#4286EE
Tritanopia (blue-blind)
#AB789E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45af1;
/* rgb */ color: rgb(180, 90, 241);
/* oklch */ color: oklch(64.3% 0.223 308.9);
Tailwind
colors: {
  custom: {
    50: '#ce8ef6',
    500: '#b45af1',
    950: '#000000',
  },
}
SCSS
$custom: #b45af1;
$custom-light: #ce8ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45af1",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 241
  },
  "hsl": {
    "h": 275.762,
    "s": 84.358,
    "l": 64.902
  },
  "oklch": {
    "l": 0.64257,
    "c": 0.2229,
    "h": 308.9
  },
  "luminance": 0.23367
}

Semantic roles & 50–950 ramp

primary
#B45AF1
secondary
#CEEDBA
accent
#E1055E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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