#B45FF5#B45FF5

#B45FF5 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.1% C 0.220 H 307.5°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#B45FF5
RGBrgb(180, 95, 245)
HSLhsl(274, 88%, 67%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(26.5%, 61.2%, 0%, 3.9%)
CIE-LABlab(56.57, 60.00, -61.90)
CIE-LCHlch(56.57, 86.21, 314.11°)
OKLaboklab(65.14% 0.134 -0.1748)
OKLCHoklch(65.14% 0.22 307.5)
XYZxyz(39.3926, 24.4808, 89.0185)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FF5 #A0F55F
analogous
#695FF5 #B45FF5 #F55FEB
triadic
#B45FF5 #F5B45F #5FF5B4
tetradic
#B45FF5 #F5695F #A0F55F #5FEBF5
square
#B45FF5 #F5695F #A0F55F #5FEBF5
split-complementary
#B45FF5 #EBF55F #5FF569
monochromatic
#7A0DCD #9925F1 #B45FF5 #CF99F9 #EAD2FC

Accessibility & contrast

On white

3.56
#B45FF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#B45FF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FF5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FF5#FFFFFF#000000##000000
##B45FF51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A85FA
Deuteranopia (green-blind)
#4488F2
Tritanopia (blue-blind)
#AA7DA1
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45ff5;
/* rgb */ color: rgb(180, 95, 245);
/* oklch */ color: oklch(65.1% 0.220 307.5);
Tailwind
colors: {
  custom: {
    50: '#ce91f9',
    500: '#b45ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b45ff5;
$custom-light: #ce91f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ff5",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 245
  },
  "hsl": {
    "h": 274,
    "s": 88.235,
    "l": 66.667
  },
  "oklch": {
    "l": 0.65144,
    "c": 0.22028,
    "h": 307.5
  },
  "luminance": 0.2448
}

Semantic roles & 50–950 ramp

primary
#B45FF5
secondary
#D5F0C0
accent
#E50164
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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