#B45DFF#B45DFF

#B45DFF is a light, highly saturated violet. Relative luminance 0.248; OKLCH L 65.5% C 0.233 H 305.6°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#B45DFF
RGBrgb(180, 93, 255)
HSLhsl(272, 100%, 68%)
HSVhsv(272, 64%, 100%)
CMYKcmyk(29.4%, 63.5%, 0%, 0%)
CIE-LABlab(56.83, 63.19, -67.01)
CIE-LCHlch(56.83, 92.10, 313.32°)
OKLaboklab(65.53% 0.1357 -0.1898)
OKLCHoklch(65.53% 0.233 305.6)
XYZxyz(40.7828, 24.7523, 97.2175)
Luminance0.2475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DFF #A8FF5D
analogous
#635DFF #B45DFF #FF5DF9
triadic
#B45DFF #FFB45D #5DFFB4
tetradic
#B45DFF #FF635D #A8FF5D #5DF9FF
square
#B45DFF #FF635D #A8FF5D #5DF9FF
split-complementary
#B45DFF #F9FF5D #5DFF63
monochromatic
#7900E2 #9820FF #B45DFF #D09AFF #EDD7FF

Accessibility & contrast

On white

3.53
#B45DFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#B45DFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DFF
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DFF#FFFFFF#000000##000000
##B45DFF1.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3489FB
Tritanopia (blue-blind)
#A77FA6
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45dff;
/* rgb */ color: rgb(180, 93, 255);
/* oklch */ color: oklch(65.5% 0.233 305.6);
Tailwind
colors: {
  custom: {
    50: '#cf90ff',
    500: '#b45dff',
    950: '#000000',
  },
}
SCSS
$custom: #b45dff;
$custom-light: #cf90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dff",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 255
  },
  "hsl": {
    "h": 272.222,
    "s": 100,
    "l": 68.235
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.23336,
    "h": 305.6
  },
  "luminance": 0.24752
}

Semantic roles & 50–950 ramp

primary
#B45DFF
secondary
#DAF4C3
accent
#E6006A
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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