#B37EF7#B37EF7

#B37EF7 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.177 H 302.3°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B37EF7
RGBrgb(179, 126, 247)
HSLhsl(266, 88%, 73%)
HSVhsv(266, 49%, 97%)
CMYKcmyk(27.5%, 49%, 0%, 3.1%)
CIE-LABlab(62.69, 44.15, -53.23)
CIE-LCHlch(62.69, 69.15, 309.68°)
OKLaboklab(69.66% 0.0944 -0.1496)
OKLCHoklch(69.66% 0.177 302.3)
XYZxyz(42.8360, 31.2208, 91.7471)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37EF7 #C2F77E
analogous
#7E85F7 #B37EF7 #EF7EF7
triadic
#B37EF7 #F7B37E #7EF7B3
tetradic
#B37EF7 #F77E85 #C2F77E #7EF7EF
square
#B37EF7 #F77E85 #C2F77E #7EF7EF
split-complementary
#B37EF7 #F7EF7E #85F77E
monochromatic
#700FEC #9144F3 #B37EF7 #D5B8FB #EEE2FD

Accessibility & contrast

On white

2.90
#B37EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B37EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37EF7
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37EF7#FFFFFF#000000##000000
##B37EF71.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#6697F4
Tritanopia (blue-blind)
#A694AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37ef7;
/* rgb */ color: rgb(179, 126, 247);
/* oklch */ color: oklch(69.7% 0.177 302.3);
Tailwind
colors: {
  custom: {
    50: '#cca4fa',
    500: '#b37ef7',
    950: '#000000',
  },
}
SCSS
$custom: #b37ef7;
$custom-light: #cca4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ef7",
  "rgb": {
    "r": 179,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 266.281,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69661,
    "c": 0.17686,
    "h": 302.3
  },
  "luminance": 0.31221
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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