#B37FEF#B37FEF

#B37FEF is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.4% C 0.166 H 303.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#B37FEF
RGBrgb(179, 127, 239)
HSLhsl(268, 78%, 72%)
HSVhsv(268, 47%, 94%)
CMYKcmyk(25.1%, 46.9%, 0%, 6.3%)
CIE-LABlab(62.50, 41.73, -49.11)
CIE-LCHlch(62.50, 64.44, 310.35°)
OKLaboklab(69.39% 0.0922 -0.1376)
OKLCHoklch(69.39% 0.166 303.8)
XYZxyz(41.7564, 30.9946, 85.4273)
Luminance0.3099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FEF #BBEF7F
analogous
#7F83EF #B37FEF #EB7FEF
triadic
#B37FEF #EFB37F #7FEFB3
tetradic
#B37FEF #EF7F83 #BBEF7F #7FEFEB
square
#B37FEF #EF7F83 #BBEF7F #7FEFEB
split-complementary
#B37FEF #EFEB7F #83EF7F
monochromatic
#731BD9 #9349E8 #B37FEF #D3B5F6 #EFE4FC

Accessibility & contrast

On white

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

On black

7.20
#B37FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FEF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FEF#FFFFFF#000000##000000
##B37FEF1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#A993AC
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37fef;
/* rgb */ color: rgb(179, 127, 239);
/* oklch */ color: oklch(69.4% 0.166 303.8);
Tailwind
colors: {
  custom: {
    50: '#cca5f5',
    500: '#b37fef',
    950: '#000000',
  },
}
SCSS
$custom: #b37fef;
$custom-light: #cca5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b37fef",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 267.857,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.69386,
    "c": 0.16561,
    "h": 303.8
  },
  "luminance": 0.30994
}

Semantic roles & 50–950 ramp

primary
#B37FEF
secondary
#E6F3D7
accent
#DA0B7A
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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