#B45FE8#B45FE8

#B45FE8 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.3% C 0.207 H 310.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#B45FE8
RGBrgb(180, 95, 232)
HSLhsl(277, 75%, 64%)
HSVhsv(277, 59%, 91%)
CMYKcmyk(22.4%, 59.1%, 0%, 9%)
CIE-LABlab(55.80, 57.16, -55.87)
CIE-LCHlch(55.80, 79.93, 315.65°)
OKLaboklab(64.34% 0.1342 -0.1572)
OKLCHoklch(64.34% 0.207 310.5)
XYZxyz(37.4773, 23.7147, 78.9314)
Luminance0.2371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FE8 #93E85F
analogous
#705FE8 #B45FE8 #E85FD8
triadic
#B45FE8 #E8B45F #5FE8B4
tetradic
#B45FE8 #E8705F #93E85F #5FD8E8
square
#B45FE8 #E8705F #93E85F #5FD8E8
split-complementary
#B45FE8 #D8E85F #5FE870
monochromatic
#791AB3 #9B29E0 #B45FE8 #CD95F0 #E6CAF7

Accessibility & contrast

On white

3.66
#B45FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#B45FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FE8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FE8#FFFFFF#000000##000000
##B45FE81.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B82EC
Deuteranopia (green-blind)
#5187E5
Tritanopia (blue-blind)
#AD799B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45fe8;
/* rgb */ color: rgb(180, 95, 232);
/* oklch */ color: oklch(64.3% 0.207 310.5);
Tailwind
colors: {
  custom: {
    50: '#ce90f0',
    500: '#b45fe8',
    950: '#000000',
  },
}
SCSS
$custom: #b45fe8;
$custom-light: #ce90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fe8",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 277.226,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.64342,
    "c": 0.20666,
    "h": 310.5
  },
  "luminance": 0.23714
}

Semantic roles & 50–950 ramp

primary
#B45FE8
secondary
#CCE9BA
accent
#D70E5B
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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