#B45FE7#B45FE7

#B45FE7 is a light, highly saturated violet. Relative luminance 0.237; OKLCH L 64.3% C 0.206 H 310.7°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#B45FE7
RGBrgb(180, 95, 231)
HSLhsl(278, 74%, 64%)
HSVhsv(278, 59%, 91%)
CMYKcmyk(22.1%, 58.9%, 0%, 9.4%)
CIE-LABlab(55.74, 56.94, -55.40)
CIE-LCHlch(55.74, 79.45, 315.79°)
OKLaboklab(64.28% 0.1342 -0.1558)
OKLCHoklch(64.28% 0.206 310.7)
XYZxyz(37.3357, 23.6580, 78.1855)
Luminance0.2366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FE7 #92E75F
analogous
#705FE7 #B45FE7 #E75FD6
triadic
#B45FE7 #E7B45F #5FE7B4
tetradic
#B45FE7 #E7705F #92E75F #5FD6E7
square
#B45FE7 #E7705F #92E75F #5FD6E7
split-complementary
#B45FE7 #D6E75F #5FE770
monochromatic
#791BB1 #9B2ADF #B45FE7 #CD94EF #E6C9F7

Accessibility & contrast

On white

3.66
#B45FE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45FE7#FFFFFF#000000##000000
##B45FE71.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D82EB
Deuteranopia (green-blind)
#5287E4
Tritanopia (blue-blind)
#AE789A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #b45fe7;
/* rgb */ color: rgb(180, 95, 231);
/* oklch */ color: oklch(64.3% 0.206 310.7);
Tailwind
colors: {
  custom: {
    50: '#ce90ef',
    500: '#b45fe7',
    950: '#000000',
  },
}
SCSS
$custom: #b45fe7;
$custom-light: #ce90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fe7",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 231
  },
  "hsl": {
    "h": 277.5,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.64282,
    "c": 0.20561,
    "h": 310.7
  },
  "luminance": 0.23657
}

Semantic roles & 50–950 ramp

primary
#B45FE7
secondary
#CBE9B9
accent
#D60F5A
background
#FDF9FE
surface
#FAF1FD
border
#D3CBD5
text
#140D16
muted
#837E84

Preview Lab

Preview with #B45FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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