#B45AFD#B45AFD

#B45AFD is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 65.0% C 0.235 H 306.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B45AFD
RGBrgb(180, 90, 253)
HSLhsl(273, 98%, 67%)
HSVhsv(273, 64%, 99%)
CMYKcmyk(28.9%, 64.4%, 0%, 0.8%)
CIE-LABlab(56.20, 64.14, -66.93)
CIE-LCHlch(56.20, 92.71, 313.78°)
OKLaboklab(65.03% 0.1391 -0.1896)
OKLCHoklch(65.03% 0.235 306.3)
XYZxyz(40.2044, 24.1079, 95.4447)
Luminance0.2411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45AFD #A3FD5A
analogous
#635AFD #B45AFD #FD5AF4
triadic
#B45AFD #FDB45A #5AFDB4
tetradic
#B45AFD #FD635A #A3FD5A #5AF4FD
square
#B45AFD #FD635A #A3FD5A #5AF4FD
split-complementary
#B45AFD #F4FD5A #5AFD63
monochromatic
#7A03DA #991EFC #B45AFD #CF96FE #EBD3FE

Accessibility & contrast

On white

3.61
#B45AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B45AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45AFD
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45AFD#FFFFFF#000000##000000
##B45AFD1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#3287F9
Tritanopia (blue-blind)
#A87DA4
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45afd;
/* rgb */ color: rgb(180, 90, 253);
/* oklch */ color: oklch(65.0% 0.235 306.3);
Tailwind
colors: {
  custom: {
    50: '#cf8eff',
    500: '#b45afd',
    950: '#000000',
  },
}
SCSS
$custom: #b45afd;
$custom-light: #cf8eff;
$custom-dark: #000000;
JSON
{
  "hex": "#b45afd",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 273.129,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65034,
    "c": 0.23517,
    "h": 306.3
  },
  "luminance": 0.24107
}

Semantic roles & 50–950 ramp

primary
#B45AFD
secondary
#D7F3C0
accent
#E60067
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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