#B45FE9#B45FE9

#B45FE9 is a light, highly saturated violet. Relative luminance 0.238; OKLCH L 64.4% C 0.208 H 310.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#B45FE9
RGBrgb(180, 95, 233)
HSLhsl(277, 76%, 64%)
HSVhsv(277, 59%, 91%)
CMYKcmyk(22.7%, 59.2%, 0%, 8.6%)
CIE-LABlab(55.86, 57.38, -56.34)
CIE-LCHlch(55.86, 80.41, 315.52°)
OKLaboklab(64.4% 0.1342 -0.1585)
OKLCHoklch(64.4% 0.208 310.2)
XYZxyz(37.6198, 23.7717, 79.6816)
Luminance0.2377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FE9 #94E95F
analogous
#6F5FE9 #B45FE9 #E95FD9
triadic
#B45FE9 #E9B45F #5FE9B4
tetradic
#B45FE9 #E96F5F #94E95F #5FD9E9
square
#B45FE9 #E96F5F #94E95F #5FD9E9
split-complementary
#B45FE9 #D9E95F #5FE96F
monochromatic
#7919B5 #9B29E2 #B45FE9 #CD95F0 #E6CBF8

Accessibility & contrast

On white

3.65
#B45FE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#B45FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FE9
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FE9#FFFFFF#000000##000000
##B45FE91.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A82ED
Deuteranopia (green-blind)
#5087E6
Tritanopia (blue-blind)
#AD799B
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45fe9;
/* rgb */ color: rgb(180, 95, 233);
/* oklch */ color: oklch(64.4% 0.208 310.2);
Tailwind
colors: {
  custom: {
    50: '#ce90f1',
    500: '#b45fe9',
    950: '#000000',
  },
}
SCSS
$custom: #b45fe9;
$custom-light: #ce90f1;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fe9",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 233
  },
  "hsl": {
    "h": 276.957,
    "s": 75.824,
    "l": 64.314
  },
  "oklch": {
    "l": 0.64403,
    "c": 0.20771,
    "h": 310.2
  },
  "luminance": 0.23771
}

Semantic roles & 50–950 ramp

primary
#B45FE9
secondary
#CCEABA
accent
#D80D5B
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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