#B37FF6#B37FF6

#B37FF6 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.174 H 302.3°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#B37FF6
RGBrgb(179, 127, 246)
HSLhsl(266, 87%, 73%)
HSVhsv(266, 48%, 96%)
CMYKcmyk(27.2%, 48.4%, 0%, 3.5%)
CIE-LABlab(62.86, 43.37, -52.41)
CIE-LCHlch(62.86, 68.03, 309.61°)
OKLaboklab(69.77% 0.093 -0.1472)
OKLCHoklch(69.77% 0.174 302.3)
XYZxyz(42.8106, 31.4162, 90.9795)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FF6 #C2F67F
analogous
#7F87F6 #B37FF6 #EE7FF6
triadic
#B37FF6 #F6B37F #7FF6B3
tetradic
#B37FF6 #F67F87 #C2F67F #7FF6EE
square
#B37FF6 #F67F87 #C2F67F #7FF6EE
split-complementary
#B37FF6 #F6EE7F #87F67F
monochromatic
#7010EA #9146F2 #B37FF6 #D5B8FA #EEE2FD

Accessibility & contrast

On white

2.88
#B37FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#B37FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FF6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FF6#FFFFFF#000000##000000
##B37FF61.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#6898F3
Tritanopia (blue-blind)
#A794AF
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37ff6;
/* rgb */ color: rgb(179, 127, 246);
/* oklch */ color: oklch(69.8% 0.174 302.3);
Tailwind
colors: {
  custom: {
    50: '#cca5fa',
    500: '#b37ff6',
    950: '#000000',
  },
}
SCSS
$custom: #b37ff6;
$custom-light: #cca5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ff6",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 266.218,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.69766,
    "c": 0.17411,
    "h": 302.3
  },
  "luminance": 0.31416
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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