#B45EF5#B45EF5

#B45EF5 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 65.0% C 0.222 H 307.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#B45EF5
RGBrgb(180, 94, 245)
HSLhsl(274, 88%, 66%)
HSVhsv(274, 62%, 96%)
CMYKcmyk(26.5%, 61.6%, 0%, 3.9%)
CIE-LABlab(56.39, 60.49, -62.18)
CIE-LCHlch(56.39, 86.75, 314.21°)
OKLaboklab(65.02% 0.1351 -0.1757)
OKLCHoklch(65.02% 0.222 307.6)
XYZxyz(39.3031, 24.3018, 88.9887)
Luminance0.2430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EF5 #9FF55E
analogous
#695EF5 #B45EF5 #F55EEB
triadic
#B45EF5 #F5B45E #5EF5B4
tetradic
#B45EF5 #F5695E #9FF55E #5EEBF5
square
#B45EF5 #F5695E #9FF55E #5EEBF5
split-complementary
#B45EF5 #EBF55E #5EF569
monochromatic
#7A0DCC #9924F1 #B45EF5 #CF98F9 #EAD1FC

Accessibility & contrast

On white

3.58
#B45EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#B45EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EF5
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EF5#FFFFFF#000000##000000
##B45EF51.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0184FA
Deuteranopia (green-blind)
#4388F2
Tritanopia (blue-blind)
#AA7CA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ef5;
/* rgb */ color: rgb(180, 94, 245);
/* oklch */ color: oklch(65.0% 0.222 307.6);
Tailwind
colors: {
  custom: {
    50: '#cf90f9',
    500: '#b45ef5',
    950: '#000000',
  },
}
SCSS
$custom: #b45ef5;
$custom-light: #cf90f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ef5",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 274.172,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65015,
    "c": 0.22164,
    "h": 307.6
  },
  "luminance": 0.24301
}

Semantic roles & 50–950 ramp

primary
#B45EF5
secondary
#D4F0BF
accent
#E50163
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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