#B45FF6#B45FF6

#B45FF6 is a light, highly saturated violet. Relative luminance 0.245; OKLCH L 65.2% C 0.221 H 307.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#B45FF6
RGBrgb(180, 95, 246)
HSLhsl(274, 89%, 67%)
HSVhsv(274, 61%, 96%)
CMYKcmyk(26.8%, 61.4%, 0%, 3.5%)
CIE-LABlab(56.63, 60.23, -62.36)
CIE-LCHlch(56.63, 86.69, 314.00°)
OKLaboklab(65.21% 0.134 -0.1762)
OKLCHoklch(65.21% 0.221 307.2)
XYZxyz(39.5457, 24.5420, 89.8247)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FF6 #A1F65F
analogous
#695FF6 #B45FF6 #F65FEC
triadic
#B45FF6 #F6B45F #5FF6B4
tetradic
#B45FF6 #F6695F #A1F65F #5FECF6
square
#B45FF6 #F6695F #A1F65F #5FECF6
split-complementary
#B45FF6 #ECF65F #5FF669
monochromatic
#7A0CCF #9925F3 #B45FF6 #CF99F9 #EAD3FD

Accessibility & contrast

On white

3.55
#B45FF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#B45FF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FF6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FF6#FFFFFF#000000##000000
##B45FF61.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0485FB
Deuteranopia (green-blind)
#4389F3
Tritanopia (blue-blind)
#AA7DA2
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b45ff6;
/* rgb */ color: rgb(180, 95, 246);
/* oklch */ color: oklch(65.2% 0.221 307.2);
Tailwind
colors: {
  custom: {
    50: '#cf91fa',
    500: '#b45ff6',
    950: '#000000',
  },
}
SCSS
$custom: #b45ff6;
$custom-light: #cf91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b45ff6",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 246
  },
  "hsl": {
    "h": 273.775,
    "s": 89.349,
    "l": 66.863
  },
  "oklch": {
    "l": 0.65207,
    "c": 0.22132,
    "h": 307.2
  },
  "luminance": 0.24542
}

Semantic roles & 50–950 ramp

primary
#B45FF6
secondary
#D5F1C0
accent
#E60064
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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