#B37DF7#B37DF7

#B37DF7 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.178 H 302.4°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#B37DF7
RGBrgb(179, 125, 247)
HSLhsl(267, 88%, 73%)
HSVhsv(267, 49%, 97%)
CMYKcmyk(27.5%, 49.4%, 0%, 3.1%)
CIE-LABlab(62.48, 44.70, -53.57)
CIE-LCHlch(62.48, 69.76, 309.84°)
OKLaboklab(69.5% 0.0957 -0.1505)
OKLCHoklch(69.5% 0.178 302.4)
XYZxyz(42.7088, 30.9663, 91.7047)
Luminance0.3097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37DF7 #C1F77D
analogous
#7D84F7 #B37DF7 #F07DF7
triadic
#B37DF7 #F7B37D #7DF7B3
tetradic
#B37DF7 #F77D84 #C1F77D #7DF7F0
square
#B37DF7 #F77D84 #C1F77D #7DF7F0
split-complementary
#B37DF7 #F7F07D #84F77D
monochromatic
#700EEB #9143F3 #B37DF7 #D5B7FB #EEE2FD

Accessibility & contrast

On white

2.92
#B37DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#B37DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37DF7
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37DF7#FFFFFF#000000##000000
##B37DF71.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#6597F4
Tritanopia (blue-blind)
#A793AF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37df7;
/* rgb */ color: rgb(179, 125, 247);
/* oklch */ color: oklch(69.5% 0.178 302.4);
Tailwind
colors: {
  custom: {
    50: '#cca4fa',
    500: '#b37df7',
    950: '#000000',
  },
}
SCSS
$custom: #b37df7;
$custom-light: #cca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b37df7",
  "rgb": {
    "r": 179,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 266.557,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.69501,
    "c": 0.17839,
    "h": 302.4
  },
  "luminance": 0.30966
}

Semantic roles & 50–950 ramp

primary
#B37DF7
secondary
#E7F5D6
accent
#E50080
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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