#B37BEF#B37BEF

#B37BEF is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.7% C 0.172 H 304.6°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#B37BEF
RGBrgb(179, 123, 239)
HSLhsl(269, 78%, 71%)
HSVhsv(269, 49%, 94%)
CMYKcmyk(25.1%, 48.5%, 0%, 6.3%)
CIE-LABlab(61.64, 43.91, -50.48)
CIE-LCHlch(61.64, 66.91, 311.02°)
OKLaboklab(68.74% 0.0975 -0.1415)
OKLCHoklch(68.74% 0.172 304.6)
XYZxyz(41.2500, 29.9818, 85.2586)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BEF #B7EF7B
analogous
#7B7DEF #B37BEF #ED7BEF
triadic
#B37BEF #EFB37B #7BEFB3
tetradic
#B37BEF #EF7B7D #B7EF7B #7BEFED
square
#B37BEF #EF7B7D #B7EF7B #7BEFED
split-complementary
#B37BEF #EFED7B #7DEF7B
monochromatic
#751AD6 #9444E8 #B37BEF #D2B2F6 #EFE4FC

Accessibility & contrast

On white

3.00
#B37BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#B37BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37BEF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BEF#FFFFFF#000000##000000
##B37BEF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5993F3
Deuteranopia (green-blind)
#6895EC
Tritanopia (blue-blind)
#A98FAA
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #b37bef;
/* rgb */ color: rgb(179, 123, 239);
/* oklch */ color: oklch(68.7% 0.172 304.6);
Tailwind
colors: {
  custom: {
    50: '#cca2f5',
    500: '#b37bef',
    950: '#000000',
  },
}
SCSS
$custom: #b37bef;
$custom-light: #cca2f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bef",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 268.966,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68741,
    "c": 0.1719,
    "h": 304.6
  },
  "luminance": 0.29982
}

Semantic roles & 50–950 ramp

primary
#B37BEF
secondary
#E3F2D3
accent
#DB0B76
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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