#B45CF0#B45CF0

#B45CF0 is a light, highly saturated violet. Relative luminance 0.236; OKLCH L 64.4% C 0.219 H 308.9°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B45CF0
RGBrgb(180, 92, 240)
HSLhsl(276, 83%, 65%)
HSVhsv(276, 62%, 94%)
CMYKcmyk(25%, 61.7%, 0%, 5.9%)
CIE-LABlab(55.74, 60.35, -60.45)
CIE-LCHlch(55.74, 85.41, 314.95°)
OKLaboklab(64.44% 0.1376 -0.1706)
OKLCHoklch(64.44% 0.219 308.9)
XYZxyz(38.3746, 23.6495, 84.9644)
Luminance0.2365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CF0 #98F05C
analogous
#6A5CF0 #B45CF0 #F05CE2
triadic
#B45CF0 #F0B45C #5CF0B4
tetradic
#B45CF0 #F06A5C #98F05C #5CE2F0
square
#B45CF0 #F06A5C #98F05C #5CE2F0
split-complementary
#B45CF0 #E2F05C #5CF06A
monochromatic
#7912C0 #9A24EB #B45CF0 #CE94F5 #E8CCFA

Accessibility & contrast

On white

3.67
#B45CF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#B45CF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CF0
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CF0#FFFFFF#000000##000000
##B45CF01.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C82F5
Deuteranopia (green-blind)
#4687ED
Tritanopia (blue-blind)
#AB799E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45cf0;
/* rgb */ color: rgb(180, 92, 240);
/* oklch */ color: oklch(64.4% 0.219 308.9);
Tailwind
colors: {
  custom: {
    50: '#ce8ff6',
    500: '#b45cf0',
    950: '#000000',
  },
}
SCSS
$custom: #b45cf0;
$custom-light: #ce8ff6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cf0",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 240
  },
  "hsl": {
    "h": 275.676,
    "s": 83.146,
    "l": 65.098
  },
  "oklch": {
    "l": 0.64445,
    "c": 0.21917,
    "h": 308.9
  },
  "luminance": 0.23649
}

Semantic roles & 50–950 ramp

primary
#B45CF0
secondary
#CFEDBB
accent
#E0065E
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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