#B45CF6#B45CF6

#B45CF6 is a light, highly saturated violet. Relative luminance 0.240; OKLCH L 64.8% C 0.225 H 307.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#B45CF6
RGBrgb(180, 92, 246)
HSLhsl(274, 90%, 66%)
HSVhsv(274, 63%, 96%)
CMYKcmyk(26.8%, 62.6%, 0%, 3.5%)
CIE-LABlab(56.10, 61.66, -63.20)
CIE-LCHlch(56.10, 88.30, 314.29°)
OKLaboklab(64.83% 0.1374 -0.1787)
OKLCHoklch(64.83% 0.225 307.6)
XYZxyz(39.2806, 24.0119, 89.7364)
Luminance0.2401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CF6 #9EF65C
analogous
#675CF6 #B45CF6 #F65CEB
triadic
#B45CF6 #F6B45C #5CF6B4
tetradic
#B45CF6 #F6675C #9EF65C #5CEBF6
square
#B45CF6 #F6675C #9EF65C #5CEBF6
split-complementary
#B45CF6 #EBF65C #5CF667
monochromatic
#7A0BCC #9922F3 #B45CF6 #CF96F9 #E9D0FC

Accessibility & contrast

On white

3.62
#B45CF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#B45CF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CF6
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CF6#FFFFFF#000000##000000
##B45CF61.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FB
Deuteranopia (green-blind)
#3F87F3
Tritanopia (blue-blind)
#AA7CA1
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45cf6;
/* rgb */ color: rgb(180, 92, 246);
/* oklch */ color: oklch(64.8% 0.225 307.6);
Tailwind
colors: {
  custom: {
    50: '#cf8ffa',
    500: '#b45cf6',
    950: '#000000',
  },
}
SCSS
$custom: #b45cf6;
$custom-light: #cf8ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cf6",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 246
  },
  "hsl": {
    "h": 274.286,
    "s": 89.535,
    "l": 66.275
  },
  "oklch": {
    "l": 0.64826,
    "c": 0.22537,
    "h": 307.6
  },
  "luminance": 0.24011
}

Semantic roles & 50–950 ramp

primary
#B45CF6
secondary
#D3F0BE
accent
#E60062
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CF6

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

Preview Lab → · Contrast checker → · Palette generator →

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