#B45FE5#B45FE5

#B45FE5 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.2% C 0.204 H 311.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#B45FE5
RGBrgb(180, 95, 229)
HSLhsl(278, 72%, 64%)
HSVhsv(278, 59%, 90%)
CMYKcmyk(21.4%, 58.5%, 0%, 10.2%)
CIE-LABlab(55.63, 56.51, -54.46)
CIE-LCHlch(55.63, 78.48, 316.06°)
OKLaboklab(64.16% 0.1342 -0.153)
OKLCHoklch(64.16% 0.204 311.2)
XYZxyz(37.0549, 23.5457, 76.7063)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FE5 #90E55F
analogous
#715FE5 #B45FE5 #E55FD3
triadic
#B45FE5 #E5B45F #5FE5B4
tetradic
#B45FE5 #E5715F #90E55F #5FD3E5
square
#B45FE5 #E5715F #90E55F #5FD3E5
split-complementary
#B45FE5 #D3E55F #5FE571
monochromatic
#781CAD #9B2ADC #B45FE5 #CD94EE #E5C8F6

Accessibility & contrast

On white

3.68
#B45FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#B45FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FE5
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FE5#FFFFFF#000000##000000
##B45FE51.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3081E9
Deuteranopia (green-blind)
#5387E2
Tritanopia (blue-blind)
#AE7899
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #b45fe5;
/* rgb */ color: rgb(180, 95, 229);
/* oklch */ color: oklch(64.2% 0.204 311.2);
Tailwind
colors: {
  custom: {
    50: '#ce90ee',
    500: '#b45fe5',
    950: '#000000',
  },
}
SCSS
$custom: #b45fe5;
$custom-light: #ce90ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fe5",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 229
  },
  "hsl": {
    "h": 278.06,
    "s": 72.043,
    "l": 63.529
  },
  "oklch": {
    "l": 0.64163,
    "c": 0.20353,
    "h": 311.2
  },
  "luminance": 0.23545
}

Semantic roles & 50–950 ramp

primary
#B45FE5
secondary
#CAE8B8
accent
#D41159
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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