#B37EFB#B37EFB

#B37EFB is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.182 H 301.4°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B37EFB
RGBrgb(179, 126, 251)
HSLhsl(265, 94%, 74%)
HSVhsv(265, 50%, 98%)
CMYKcmyk(28.7%, 49.8%, 0%, 1.6%)
CIE-LABlab(62.90, 45.10, -55.09)
CIE-LCHlch(62.90, 71.20, 309.31°)
OKLaboklab(69.88% 0.0948 -0.155)
OKLCHoklch(69.88% 0.182 301.4)
XYZxyz(43.4599, 31.4703, 95.0329)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EFB #C6FB7E
analogous
#7E88FB #B37EFB #F27EFB
triadic
#B37EFB #FBB37E #7EFBB3
tetradic
#B37EFB #FB7E88 #C6FB7E #7EFBF2
square
#B37EFB #FB7E88 #C6FB7E #7EFBF2
split-complementary
#B37EFB #FBF27E #88FB7E
monochromatic
#6D08F7 #9043F9 #B37EFB #D6B9FD #EEE1FE

Accessibility & contrast

On white

2.88
#B37EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B37EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EFB
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EFB#FFFFFF#000000##000000
##B37EFB1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FF
Deuteranopia (green-blind)
#6398F8
Tritanopia (blue-blind)
#A595B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37efb;
/* rgb */ color: rgb(179, 126, 251);
/* oklch */ color: oklch(69.9% 0.182 301.4);
Tailwind
colors: {
  custom: {
    50: '#cda4fd',
    500: '#b37efb',
    950: '#000000',
  },
}
SCSS
$custom: #b37efb;
$custom-light: #cda4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b37efb",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 265.44,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69884,
    "c": 0.18169,
    "h": 301.4
  },
  "luminance": 0.3147
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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