#B37CE8#B37CE8

#B37CE8 is a light, vivid violet. Relative luminance 0.298; OKLCH L 68.5% C 0.162 H 306.1°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#B37CE8
RGBrgb(179, 124, 232)
HSLhsl(271, 70%, 70%)
HSVhsv(271, 47%, 91%)
CMYKcmyk(22.8%, 46.6%, 0%, 9%)
CIE-LABlab(61.50, 41.75, -46.81)
CIE-LCHlch(61.50, 62.73, 311.73°)
OKLaboklab(68.53% 0.0954 -0.1309)
OKLCHoklch(68.53% 0.162 306.1)
XYZxyz(40.3606, 29.8255, 79.9589)
Luminance0.2983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37CE8 #B1E87C
analogous
#7D7CE8 #B37CE8 #E87CE7
triadic
#B37CE8 #E8B37C #7CE8B3
tetradic
#B37CE8 #E87D7C #B1E87C #7CE7E8
square
#B37CE8 #E87D7C #B1E87C #7CE7E8
split-complementary
#B37CE8 #E7E87C #7CE87D
monochromatic
#7623C7 #9548DF #B37CE8 #D1B0F1 #EFE4FA

Accessibility & contrast

On white

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

On black

6.97
#B37CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B37CE8
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37CE8#FFFFFF#000000##000000
##B37CE81.003.026.976.97
#FFFFFF3.021.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F93EC
Deuteranopia (green-blind)
#6E95E5
Tritanopia (blue-blind)
#AB8EA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b37ce8;
/* rgb */ color: rgb(179, 124, 232);
/* oklch */ color: oklch(68.5% 0.162 306.1);
Tailwind
colors: {
  custom: {
    50: '#cca3f0',
    500: '#b37ce8',
    950: '#000000',
  },
}
SCSS
$custom: #b37ce8;
$custom-light: #cca3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ce8",
  "rgb": {
    "r": 179,
    "g": 124,
    "b": 232
  },
  "hsl": {
    "h": 270.556,
    "s": 70.13,
    "l": 69.804
  },
  "oklch": {
    "l": 0.68526,
    "c": 0.16193,
    "h": 306.1
  },
  "luminance": 0.29825
}

Semantic roles & 50–950 ramp

primary
#B37CE8
secondary
#E0EFD1
accent
#D21371
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B37CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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