#B45CF5#B45CF5

#B45CF5 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.8% C 0.224 H 307.8°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#B45CF5
RGBrgb(180, 92, 245)
HSLhsl(275, 88%, 66%)
HSVhsv(275, 62%, 96%)
CMYKcmyk(26.5%, 62.4%, 0%, 3.9%)
CIE-LABlab(56.04, 61.44, -62.75)
CIE-LCHlch(56.04, 87.82, 314.40°)
OKLaboklab(64.76% 0.1374 -0.1773)
OKLCHoklch(64.76% 0.224 307.8)
XYZxyz(39.1276, 23.9507, 88.9302)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CF5 #9DF55C
analogous
#675CF5 #B45CF5 #F55CE9
triadic
#B45CF5 #F5B45C #5CF5B4
tetradic
#B45CF5 #F5675C #9DF55C #5CE9F5
square
#B45CF5 #F5675C #9DF55C #5CE9F5
split-complementary
#B45CF5 #E9F55C #5CF567
monochromatic
#7A0CCA #9922F1 #B45CF5 #CF96F9 #E9CFFC

Accessibility & contrast

On white

3.63
#B45CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#B45CF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CF5
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CF5#FFFFFF#000000##000000
##B45CF51.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FA
Deuteranopia (green-blind)
#4087F2
Tritanopia (blue-blind)
#AA7BA0
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45cf5;
/* rgb */ color: rgb(180, 92, 245);
/* oklch */ color: oklch(64.8% 0.224 307.8);
Tailwind
colors: {
  custom: {
    50: '#cf8ff9',
    500: '#b45cf5',
    950: '#000000',
  },
}
SCSS
$custom: #b45cf5;
$custom-light: #cf8ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cf5",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 245
  },
  "hsl": {
    "h": 274.51,
    "s": 88.439,
    "l": 66.078
  },
  "oklch": {
    "l": 0.64762,
    "c": 0.22433,
    "h": 307.8
  },
  "luminance": 0.2395
}

Semantic roles & 50–950 ramp

primary
#B45CF5
secondary
#D3F0BD
accent
#E50062
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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