#B45FDF#B45FDF

#B45FDF is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.8% C 0.197 H 312.8°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#B45FDF
RGBrgb(180, 95, 223)
HSLhsl(280, 67%, 62%)
HSVhsv(280, 57%, 87%)
CMYKcmyk(19.3%, 57.4%, 0%, 12.5%)
CIE-LABlab(55.29, 55.23, -51.62)
CIE-LCHlch(55.29, 75.60, 316.94°)
OKLaboklab(63.81% 0.1341 -0.1447)
OKLCHoklch(63.81% 0.197 312.8)
XYZxyz(36.2316, 23.2164, 72.3703)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FDF #8ADF5F
analogous
#745FDF #B45FDF #DF5FCA
triadic
#B45FDF #DFB45F #5FDFB4
tetradic
#B45FDF #DF745F #8ADF5F #5FCADF
square
#B45FDF #DF745F #8ADF5F #5FCADF
split-complementary
#B45FDF #CADF5F #5FDF74
monochromatic
#7721A3 #9C2CD5 #B45FDF #CC92E9 #E4C5F3

Accessibility & contrast

On white

3.72
#B45FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#B45FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FDF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FDF#FFFFFF#000000##000000
##B45FDF1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3780E3
Deuteranopia (green-blind)
#5886DC
Tritanopia (blue-blind)
#B07696
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45fdf;
/* rgb */ color: rgb(180, 95, 223);
/* oklch */ color: oklch(63.8% 0.197 312.8);
Tailwind
colors: {
  custom: {
    50: '#cd90e9',
    500: '#b45fdf',
    950: '#000000',
  },
}
SCSS
$custom: #b45fdf;
$custom-light: #cd90e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fdf",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 279.844,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.63809,
    "c": 0.19727,
    "h": 312.8
  },
  "luminance": 0.23215
}

Semantic roles & 50–950 ramp

primary
#B45FDF
secondary
#C5E4B6
accent
#CF1755
background
#FCF9FE
surface
#F9F1FD
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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