#B37FE5#B37FE5

#B37FE5 is a light, vivid violet. Relative luminance 0.304; OKLCH L 68.9% C 0.153 H 306.3°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B37FE5
RGBrgb(179, 127, 229)
HSLhsl(271, 66%, 70%)
HSVhsv(271, 45%, 90%)
CMYKcmyk(21.8%, 44.5%, 0%, 10.2%)
CIE-LABlab(62.01, 39.42, -44.34)
CIE-LCHlch(62.01, 59.33, 311.64°)
OKLaboklab(68.86% 0.0908 -0.1237)
OKLCHoklch(68.86% 0.153 306.3)
XYZxyz(40.3198, 30.4199, 77.8611)
Luminance0.3042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FE5 #B1E57F
analogous
#807FE5 #B37FE5 #E57FE4
triadic
#B37FE5 #E5B37F #7FE5B3
tetradic
#B37FE5 #E5807F #B1E57F #7FE4E5
square
#B37FE5 #E5807F #B1E57F #7FE4E5
split-complementary
#B37FE5 #E4E57F #7FE580
monochromatic
#7627C2 #954CDB #B37FE5 #D1B2EF #EFE5FA

Accessibility & contrast

On white

2.96
#B37FE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#B37FE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FE5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FE5#FFFFFF#000000##000000
##B37FE51.002.967.087.08
#FFFFFF2.961.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6694E9
Deuteranopia (green-blind)
#7296E2
Tritanopia (blue-blind)
#AB90A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37fe5;
/* rgb */ color: rgb(179, 127, 229);
/* oklch */ color: oklch(68.9% 0.153 306.3);
Tailwind
colors: {
  custom: {
    50: '#cca5ed',
    500: '#b37fe5',
    950: '#000000',
  },
}
SCSS
$custom: #b37fe5;
$custom-light: #cca5ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b37fe5",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 270.588,
    "s": 66.234,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68862,
    "c": 0.15346,
    "h": 306.3
  },
  "luminance": 0.3042
}

Semantic roles & 50–950 ramp

primary
#B37FE5
secondary
#E0EED1
accent
#CE1771
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84

Preview Lab

Preview with #B37FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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