#B45CF7#B45CF7

#B45CF7 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.9% C 0.226 H 307.3°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#B45CF7
RGBrgb(180, 92, 247)
HSLhsl(274, 91%, 66%)
HSVhsv(274, 63%, 97%)
CMYKcmyk(27.1%, 62.8%, 0%, 3.1%)
CIE-LABlab(56.16, 61.88, -63.66)
CIE-LCHlch(56.16, 88.78, 314.19°)
OKLaboklab(64.89% 0.1373 -0.18)
OKLCHoklch(64.89% 0.226 307.3)
XYZxyz(39.4345, 24.0735, 90.5469)
Luminance0.2407 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CF7 #9FF75C
analogous
#675CF7 #B45CF7 #F75CEC
triadic
#B45CF7 #F7B45C #5CF7B4
tetradic
#B45CF7 #F7675C #9FF75C #5CECF7
square
#B45CF7 #F7675C #9FF75C #5CECF7
split-complementary
#B45CF7 #ECF75C #5CF767
monochromatic
#7A0ACE #9922F4 #B45CF7 #CF96FA #EAD1FD

Accessibility & contrast

On white

3.61
#B45CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#B45CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CF7
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CF7#FFFFFF#000000##000000
##B45CF71.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#3E87F3
Tritanopia (blue-blind)
#A97CA1
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b45cf7;
/* rgb */ color: rgb(180, 92, 247);
/* oklch */ color: oklch(64.9% 0.226 307.3);
Tailwind
colors: {
  custom: {
    50: '#cf8ffb',
    500: '#b45cf7',
    950: '#000000',
  },
}
SCSS
$custom: #b45cf7;
$custom-light: #cf8ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cf7",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 274.065,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.6489,
    "c": 0.2264,
    "h": 307.3
  },
  "luminance": 0.24073
}

Semantic roles & 50–950 ramp

primary
#B45CF7
secondary
#D4F1BE
accent
#E60063
background
#FDF9FF
surface
#FAF1FF
border
#D3CBD7
text
#140D17
muted
#837E85

Preview Lab

Preview with #B45CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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