#B45FEF#B45FEF

#B45FEF is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.8% C 0.214 H 308.8°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#B45FEF
RGBrgb(180, 95, 239)
HSLhsl(275, 82%, 65%)
HSVhsv(275, 60%, 94%)
CMYKcmyk(24.7%, 60.3%, 0%, 6.3%)
CIE-LABlab(56.21, 58.68, -59.13)
CIE-LCHlch(56.21, 83.31, 314.78°)
OKLaboklab(64.77% 0.1342 -0.1667)
OKLCHoklch(64.77% 0.214 308.8)
XYZxyz(38.4915, 24.1203, 84.2726)
Luminance0.2412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FEF #9AEF5F
analogous
#6C5FEF #B45FEF #EF5FE2
triadic
#B45FEF #EFB45F #5FEFB4
tetradic
#B45FEF #EF6C5F #9AEF5F #5FE2EF
square
#B45FEF #EF6C5F #9AEF5F #5FE2EF
split-complementary
#B45FEF #E2EF5F #5FEF6C
monochromatic
#7913C0 #9A27E9 #B45FEF #CE97F5 #E8CEFA

Accessibility & contrast

On white

3.61
#B45FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#B45FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FEF
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FEF#FFFFFF#000000##000000
##B45FEF1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E83F4
Deuteranopia (green-blind)
#4A88EC
Tritanopia (blue-blind)
#AC7B9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45fef;
/* rgb */ color: rgb(180, 95, 239);
/* oklch */ color: oklch(64.8% 0.214 308.8);
Tailwind
colors: {
  custom: {
    50: '#ce90f5',
    500: '#b45fef',
    950: '#000000',
  },
}
SCSS
$custom: #b45fef;
$custom-light: #ce90f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fef",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 275.417,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.64769,
    "c": 0.21399,
    "h": 308.8
  },
  "luminance": 0.2412
}

Semantic roles & 50–950 ramp

primary
#B45FEF
secondary
#D1EDBD
accent
#DE075F
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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