#B45EFF#B45EFF

#B45EFF is a light, highly saturated violet. Relative luminance 0.249; OKLCH L 65.7% C 0.232 H 305.5°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#B45EFF
RGBrgb(180, 94, 255)
HSLhsl(272, 100%, 68%)
HSVhsv(272, 63%, 100%)
CMYKcmyk(29.4%, 63.1%, 0%, 0%)
CIE-LABlab(57.01, 62.71, -66.73)
CIE-LCHlch(57.01, 91.58, 313.22°)
OKLaboklab(65.66% 0.1346 -0.189)
OKLCHoklch(65.66% 0.232 305.5)
XYZxyz(40.8712, 24.9290, 97.2470)
Luminance0.2493 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EFF #A9FF5E
analogous
#635EFF #B45EFF #FF5EF9
triadic
#B45EFF #FFB45E #5EFFB4
tetradic
#B45EFF #FF635E #A9FF5E #5EF9FF
square
#B45EFF #FF635E #A9FF5E #5EF9FF
split-complementary
#B45EFF #F9FF5E #5EFF63
monochromatic
#7900E3 #9721FF #B45EFF #D19BFF #EDD8FF

Accessibility & contrast

On white

3.51
#B45EFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#B45EFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EFF
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EFF#FFFFFF#000000##000000
##B45EFF1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#3589FB
Tritanopia (blue-blind)
#A780A6
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #b45eff;
/* rgb */ color: rgb(180, 94, 255);
/* oklch */ color: oklch(65.7% 0.232 305.5);
Tailwind
colors: {
  custom: {
    50: '#cf90ff',
    500: '#b45eff',
    950: '#000000',
  },
}
SCSS
$custom: #b45eff;
$custom-light: #cf90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#b45eff",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 255
  },
  "hsl": {
    "h": 272.05,
    "s": 100,
    "l": 68.431
  },
  "oklch": {
    "l": 0.65659,
    "c": 0.23207,
    "h": 305.5
  },
  "luminance": 0.24929
}

Semantic roles & 50–950 ramp

primary
#B45EFF
secondary
#DBF5C4
accent
#E6006B
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D18
muted
#837E86

Preview Lab

Preview with #B45EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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