#B37BFB#B37BFB

#B37BFB is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.4% C 0.186 H 302.0°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#B37BFB
RGBrgb(179, 123, 251)
HSLhsl(266, 94%, 73%)
HSVhsv(266, 51%, 98%)
CMYKcmyk(28.7%, 51%, 0%, 1.6%)
CIE-LABlab(62.27, 46.73, -56.11)
CIE-LCHlch(62.27, 73.02, 309.79°)
OKLaboklab(69.41% 0.0986 -0.158)
OKLCHoklch(69.41% 0.186 302)
XYZxyz(43.0820, 30.7146, 94.9069)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BFB #C3FB7B
analogous
#7B83FB #B37BFB #F37BFB
triadic
#B37BFB #FBB37B #7BFBB3
tetradic
#B37BFB #FB7B83 #C3FB7B #7BFBF3
square
#B37BFB #FB7B83 #C3FB7B #7BFBF3
split-complementary
#B37BFB #FBF37B #83FB7B
monochromatic
#6F07F4 #9140F9 #B37BFB #D5B6FD #EEE1FE

Accessibility & contrast

On white

2.94
#B37BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#B37BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37BFB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BFB#FFFFFF#000000##000000
##B37BFB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5096FF
Deuteranopia (green-blind)
#6096F8
Tritanopia (blue-blind)
#A593B0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37bfb;
/* rgb */ color: rgb(179, 123, 251);
/* oklch */ color: oklch(69.4% 0.186 302.0);
Tailwind
colors: {
  custom: {
    50: '#cda2fd',
    500: '#b37bfb',
    950: '#000000',
  },
}
SCSS
$custom: #b37bfb;
$custom-light: #cda2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bfb",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 266.25,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.69411,
    "c": 0.18623,
    "h": 302
  },
  "luminance": 0.30715
}

Semantic roles & 50–950 ramp

primary
#B37BFB
secondary
#E8F6D5
accent
#E60081
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B37BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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