#B37FF5#B37FF5

#B37FF5 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.7% C 0.173 H 302.5°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#B37FF5
RGBrgb(179, 127, 245)
HSLhsl(266, 86%, 73%)
HSVhsv(266, 48%, 96%)
CMYKcmyk(26.9%, 48.2%, 0%, 3.9%)
CIE-LABlab(62.81, 43.13, -51.94)
CIE-LCHlch(62.81, 67.52, 309.71°)
OKLaboklab(69.71% 0.0929 -0.1458)
OKLCHoklch(69.71% 0.173 302.5)
XYZxyz(42.6575, 31.3550, 90.1733)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FF5 #C1F57F
analogous
#7F86F5 #B37FF5 #EE7FF5
triadic
#B37FF5 #F5B37F #7FF5B3
tetradic
#B37FF5 #F57F86 #C1F57F #7FF5EE
square
#B37FF5 #F57F86 #C1F57F #7FF5EE
split-complementary
#B37FF5 #F5EE7F #86F57F
monochromatic
#7012E8 #9146F1 #B37FF5 #D5B8F9 #EEE3FD

Accessibility & contrast

On white

2.89
#B37FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#B37FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FF5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FF5#FFFFFF#000000##000000
##B37FF51.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B97F9
Deuteranopia (green-blind)
#6998F2
Tritanopia (blue-blind)
#A794AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37ff5;
/* rgb */ color: rgb(179, 127, 245);
/* oklch */ color: oklch(69.7% 0.173 302.5);
Tailwind
colors: {
  custom: {
    50: '#cca5f9',
    500: '#b37ff5',
    950: '#000000',
  },
}
SCSS
$custom: #b37ff5;
$custom-light: #cca5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ff5",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 266.441,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69711,
    "c": 0.17289,
    "h": 302.5
  },
  "luminance": 0.31355
}

Semantic roles & 50–950 ramp

primary
#B37FF5
secondary
#E7F5D6
accent
#E20380
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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