#B37BEB#B37BEB

#B37BEB is a light, vivid violet. Relative luminance 0.297; OKLCH L 68.5% C 0.167 H 305.5°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B37BEB
RGBrgb(179, 123, 235)
HSLhsl(270, 74%, 70%)
HSVhsv(270, 48%, 92%)
CMYKcmyk(23.8%, 47.7%, 0%, 7.8%)
CIE-LABlab(61.44, 42.98, -48.59)
CIE-LCHlch(61.44, 64.87, 311.50°)
OKLaboklab(68.53% 0.0971 -0.136)
OKLCHoklch(68.53% 0.167 305.5)
XYZxyz(40.6656, 29.7480, 82.1808)
Luminance0.2975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BEB #B3EB7B
analogous
#7B7BEB #B37BEB #EB7BEB
triadic
#B37BEB #EBB37B #7BEBB3
tetradic
#B37BEB #EB7B7B #B3EB7B #7BEBEB
square
#B37BEB #EB7B7B #B3EB7B #7BEBEB
split-complementary
#B37BEB #EBEB7B #7BEB7B
monochromatic
#761FCD #9446E3 #B37BEB #D2B0F3 #F0E4FB

Accessibility & contrast

On white

3.02
#B37BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B37BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B37BEB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BEB#FFFFFF#000000##000000
##B37BEB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93EF
Deuteranopia (green-blind)
#6B95E8
Tritanopia (blue-blind)
#AA8EA8
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b37beb;
/* rgb */ color: rgb(179, 123, 235);
/* oklch */ color: oklch(68.5% 0.167 305.5);
Tailwind
colors: {
  custom: {
    50: '#cca2f2',
    500: '#b37beb',
    950: '#000000',
  },
}
SCSS
$custom: #b37beb;
$custom-light: #cca2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#b37beb",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.68525,
    "c": 0.16712,
    "h": 305.5
  },
  "luminance": 0.29748
}

Semantic roles & 50–950 ramp

primary
#B37BEB
secondary
#E1F0D1
accent
#D61073
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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