#B37BF8#B37BF8

#B37BF8 is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.183 H 302.6°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#B37BF8
RGBrgb(179, 123, 248)
HSLhsl(267, 90%, 73%)
HSVhsv(267, 50%, 97%)
CMYKcmyk(27.8%, 50.4%, 0%, 2.7%)
CIE-LABlab(62.11, 46.02, -54.71)
CIE-LCHlch(62.11, 71.49, 310.07°)
OKLaboklab(69.24% 0.0984 -0.1539)
OKLCHoklch(69.24% 0.183 302.6)
XYZxyz(42.6128, 30.5269, 92.4361)
Luminance0.3053 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BF8 #C0F87B
analogous
#7B81F8 #B37BF8 #F17BF8
triadic
#B37BF8 #F8B37B #7BF8B3
tetradic
#B37BF8 #F87B81 #C0F87B #7BF8F1
square
#B37BF8 #F87B81 #C0F87B #7BF8F1
split-complementary
#B37BF8 #F8F17B #81F87B
monochromatic
#710DEC #9241F5 #B37BF8 #D4B5FB #EEE2FD

Accessibility & contrast

On white

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

On black

7.11
#B37BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37BF8
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BF8#FFFFFF#000000##000000
##B37BF81.002.967.117.11
#FFFFFF2.961.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5295FC
Deuteranopia (green-blind)
#6296F5
Tritanopia (blue-blind)
#A692AE
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37bf8;
/* rgb */ color: rgb(179, 123, 248);
/* oklch */ color: oklch(69.2% 0.183 302.6);
Tailwind
colors: {
  custom: {
    50: '#cda2fb',
    500: '#b37bf8',
    950: '#000000',
  },
}
SCSS
$custom: #b37bf8;
$custom-light: #cda2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bf8",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 266.88,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.69241,
    "c": 0.18265,
    "h": 302.6
  },
  "luminance": 0.30527
}

Semantic roles & 50–950 ramp

primary
#B37BF8
secondary
#E7F6D5
accent
#E6007F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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