#B45FEE#B45FEE

#B45FEE is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.7% C 0.213 H 309.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B45FEE
RGBrgb(180, 95, 238)
HSLhsl(276, 81%, 65%)
HSVhsv(276, 60%, 93%)
CMYKcmyk(24.4%, 60.1%, 0%, 6.7%)
CIE-LABlab(56.15, 58.46, -58.67)
CIE-LCHlch(56.15, 82.82, 314.90°)
OKLaboklab(64.71% 0.1342 -0.1654)
OKLCHoklch(64.71% 0.213 309.1)
XYZxyz(38.3442, 24.0614, 83.4967)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FEE #99EE5F
analogous
#6C5FEE #B45FEE #EE5FE1
triadic
#B45FEE #EEB45F #5FEEB4
tetradic
#B45FEE #EE6C5F #99EE5F #5FE1EE
square
#B45FEE #EE6C5F #99EE5F #5FE1EE
split-complementary
#B45FEE #E1EE5F #5FEE6C
monochromatic
#7914BE #9A28E8 #B45FEE #CE96F4 #E8CEFA

Accessibility & contrast

On white

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

On black

5.81
#B45FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FEE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FEE#FFFFFF#000000##000000
##B45FEE1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2083F3
Deuteranopia (green-blind)
#4B88EB
Tritanopia (blue-blind)
#AC7B9E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45fee;
/* rgb */ color: rgb(180, 95, 238);
/* oklch */ color: oklch(64.7% 0.213 309.1);
Tailwind
colors: {
  custom: {
    50: '#ce90f4',
    500: '#b45fee',
    950: '#000000',
  },
}
SCSS
$custom: #b45fee;
$custom-light: #ce90f4;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fee",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 275.664,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.64708,
    "c": 0.21294,
    "h": 309.1
  },
  "luminance": 0.24061
}

Semantic roles & 50–950 ramp

primary
#B45FEE
secondary
#D0ECBC
accent
#DD085F
background
#FDF9FF
surface
#FAF1FE
border
#D3CBD6
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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