#B45FDB#B45FDB

#B45FDB is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.6% C 0.193 H 313.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#B45FDB
RGBrgb(180, 95, 219)
HSLhsl(281, 63%, 62%)
HSVhsv(281, 57%, 86%)
CMYKcmyk(17.8%, 56.6%, 0%, 14.1%)
CIE-LABlab(55.08, 54.39, -49.71)
CIE-LCHlch(55.08, 73.69, 317.57°)
OKLaboklab(63.58% 0.1339 -0.1392)
OKLCHoklch(63.58% 0.193 313.9)
XYZxyz(35.6987, 23.0032, 69.5636)
Luminance0.2300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FDB #86DB5F
analogous
#765FDB #B45FDB #DB5FC4
triadic
#B45FDB #DBB45F #5FDBB4
tetradic
#B45FDB #DB765F #86DB5F #5FC4DB
square
#B45FDB #DB765F #86DB5F #5FC4DB
split-complementary
#B45FDB #C4DB5F #5FDB76
monochromatic
#76239C #9C2ECE #B45FDB #CB91E6 #E3C3F1

Accessibility & contrast

On white

3.75
#B45FDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#B45FDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FDB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FDB#FFFFFF#000000##000000
##B45FDB1.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C7FDF
Deuteranopia (green-blind)
#5B86D8
Tritanopia (blue-blind)
#B17494
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45fdb;
/* rgb */ color: rgb(180, 95, 219);
/* oklch */ color: oklch(63.6% 0.193 313.9);
Tailwind
colors: {
  custom: {
    50: '#cd90e7',
    500: '#b45fdb',
    950: '#000000',
  },
}
SCSS
$custom: #b45fdb;
$custom-light: #cd90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fdb",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 219
  },
  "hsl": {
    "h": 281.129,
    "s": 63.265,
    "l": 61.569
  },
  "oklch": {
    "l": 0.63579,
    "c": 0.19312,
    "h": 313.9
  },
  "luminance": 0.23002
}

Semantic roles & 50–950 ramp

primary
#B45FDB
secondary
#C2E2B4
accent
#CB1A52
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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