#B37CE7#B37CE7

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

Color values

HEX#B37CE7
RGBrgb(179, 124, 231)
HSLhsl(271, 69%, 70%)
HSVhsv(271, 46%, 91%)
CMYKcmyk(22.5%, 46.3%, 0%, 9.4%)
CIE-LABlab(61.45, 41.52, -46.34)
CIE-LCHlch(61.45, 62.22, 311.86°)
OKLaboklab(68.47% 0.0952 -0.1295)
OKLCHoklch(68.47% 0.161 306.3)
XYZxyz(40.2189, 29.7689, 79.2130)
Luminance0.2977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37CE7 #B0E77C
analogous
#7E7CE7 #B37CE7 #E77CE6
triadic
#B37CE7 #E7B37C #7CE7B3
tetradic
#B37CE7 #E77E7C #B0E77C #7CE6E7
square
#B37CE7 #E77E7C #B0E77C #7CE6E7
split-complementary
#B37CE7 #E6E77C #7CE77E
monochromatic
#7724C5 #9548DE #B37CE7 #D1B0F0 #EFE3FA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B37CE7#FFFFFF#000000##000000
##B37CE71.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)
#6092EB
Deuteranopia (green-blind)
#6E95E4
Tritanopia (blue-blind)
#AB8EA7
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b37ce7;
/* rgb */ color: rgb(179, 124, 231);
/* oklch */ color: oklch(68.5% 0.161 306.3);
Tailwind
colors: {
  custom: {
    50: '#cca3ef',
    500: '#b37ce7',
    950: '#000000',
  },
}
SCSS
$custom: #b37ce7;
$custom-light: #cca3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ce7",
  "rgb": {
    "r": 179,
    "g": 124,
    "b": 231
  },
  "hsl": {
    "h": 270.841,
    "s": 69.032,
    "l": 69.608
  },
  "oklch": {
    "l": 0.68474,
    "c": 0.16073,
    "h": 306.3
  },
  "luminance": 0.29769
}

Semantic roles & 50–950 ramp

primary
#B37CE7
secondary
#DFEFD0
accent
#D11570
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F16
muted
#827F84

Preview Lab

Preview with #B37CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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