#B45FF4#B45FF4

#B45FF4 is a light, highly saturated violet. Relative luminance 0.244; OKLCH L 65.1% C 0.219 H 307.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B45FF4
RGBrgb(180, 95, 244)
HSLhsl(274, 87%, 66%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(26.2%, 61.1%, 0%, 4.3%)
CIE-LABlab(56.51, 59.78, -61.44)
CIE-LCHlch(56.51, 85.72, 314.22°)
OKLaboklab(65.08% 0.134 -0.1735)
OKLCHoklch(65.08% 0.219 307.7)
XYZxyz(39.2404, 24.4199, 88.2167)
Luminance0.2442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FF4 #9FF45F
analogous
#6A5FF4 #B45FF4 #F45FEA
triadic
#B45FF4 #F4B45F #5FF4B4
tetradic
#B45FF4 #F46A5F #9FF45F #5FEAF4
square
#B45FF4 #F46A5F #9FF45F #5FEAF4
split-complementary
#B45FF4 #EAF45F #5FF46A
monochromatic
#7A0ECB #9926F0 #B45FF4 #CF98F8 #EAD2FC

Accessibility & contrast

On white

3.57
#B45FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#B45FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FF4
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FF4#FFFFFF#000000##000000
##B45FF41.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F84F9
Deuteranopia (green-blind)
#4588F1
Tritanopia (blue-blind)
#AA7DA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45ff4;
/* rgb */ color: rgb(180, 95, 244);
/* oklch */ color: oklch(65.1% 0.219 307.7);
Tailwind
colors: {
  custom: {
    50: '#ce91f8',
    500: '#b45ff4',
    950: '#000000',
  },
}
SCSS
$custom: #b45ff4;
$custom-light: #ce91f8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ff4",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 274.228,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65081,
    "c": 0.21923,
    "h": 307.7
  },
  "luminance": 0.24419
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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