#B45EF4#B45EF4

#B45EF4 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 65.0% C 0.221 H 307.8°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#B45EF4
RGBrgb(180, 94, 244)
HSLhsl(274, 87%, 66%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(26.2%, 61.5%, 0%, 4.3%)
CIE-LABlab(56.33, 60.26, -61.72)
CIE-LCHlch(56.33, 86.27, 314.31°)
OKLaboklab(64.95% 0.1352 -0.1743)
OKLCHoklch(64.95% 0.221 307.8)
XYZxyz(39.1509, 24.2409, 88.1869)
Luminance0.2424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45EF4 #9EF45E
analogous
#695EF4 #B45EF4 #F45EE9
triadic
#B45EF4 #F4B45E #5EF4B4
tetradic
#B45EF4 #F4695E #9EF45E #5EE9F4
square
#B45EF4 #F4695E #9EF45E #5EE9F4
split-complementary
#B45EF4 #E9F45E #5EF469
monochromatic
#7A0ECA #9925F0 #B45EF4 #CF97F8 #E9D1FC

Accessibility & contrast

On white

3.59
#B45EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#B45EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45EF4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45EF4#FFFFFF#000000##000000
##B45EF41.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0784F9
Deuteranopia (green-blind)
#4488F1
Tritanopia (blue-blind)
#AA7CA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ef4;
/* rgb */ color: rgb(180, 94, 244);
/* oklch */ color: oklch(65.0% 0.221 307.8);
Tailwind
colors: {
  custom: {
    50: '#ce90f8',
    500: '#b45ef4',
    950: '#000000',
  },
}
SCSS
$custom: #b45ef4;
$custom-light: #ce90f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ef4",
  "rgb": {
    "r": 180,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 274.4,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64952,
    "c": 0.22059,
    "h": 307.8
  },
  "luminance": 0.2424
}

Semantic roles & 50–950 ramp

primary
#B45EF4
secondary
#D3EFBE
accent
#E40262
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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