#B45FF8#B45FF8

#B45FF8 is a light, highly saturated violet. Relative luminance 0.247; OKLCH L 65.3% C 0.223 H 306.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B45FF8
RGBrgb(180, 95, 248)
HSLhsl(273, 92%, 67%)
HSVhsv(273, 62%, 97%)
CMYKcmyk(27.4%, 61.7%, 0%, 2.7%)
CIE-LABlab(56.75, 60.67, -63.27)
CIE-LCHlch(56.75, 87.66, 313.80°)
OKLaboklab(65.33% 0.1339 -0.1789)
OKLCHoklch(65.33% 0.223 306.8)
XYZxyz(39.8543, 24.6655, 91.4501)
Luminance0.2467 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FF8 #A3F85F
analogous
#675FF8 #B45FF8 #F85FF0
triadic
#B45FF8 #F8B45F #5FF8B4
tetradic
#B45FF8 #F8675F #A3F85F #5FF0F8
square
#B45FF8 #F8675F #A3F85F #5FF0F8
split-complementary
#B45FF8 #F0F85F #5FF867
monochromatic
#7A09D3 #9924F5 #B45FF8 #CF9AFB #EBD4FD

Accessibility & contrast

On white

3.54
#B45FF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#B45FF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FF8
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FF8#FFFFFF#000000##000000
##B45FF81.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FD
Deuteranopia (green-blind)
#4189F5
Tritanopia (blue-blind)
#A97EA3
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45ff8;
/* rgb */ color: rgb(180, 95, 248);
/* oklch */ color: oklch(65.3% 0.223 306.8);
Tailwind
colors: {
  custom: {
    50: '#cf91fb',
    500: '#b45ff8',
    950: '#000000',
  },
}
SCSS
$custom: #b45ff8;
$custom-light: #cf91fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ff8",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 248
  },
  "hsl": {
    "h": 273.333,
    "s": 91.617,
    "l": 67.255
  },
  "oklch": {
    "l": 0.65334,
    "c": 0.22342,
    "h": 306.8
  },
  "luminance": 0.24665
}

Semantic roles & 50–950 ramp

primary
#B45FF8
secondary
#D7F2C1
accent
#E60066
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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