#B37FFB#B37FFB

#B37FFB is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.0% C 0.180 H 301.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B37FFB
RGBrgb(179, 127, 251)
HSLhsl(265, 94%, 74%)
HSVhsv(265, 49%, 98%)
CMYKcmyk(28.7%, 49.4%, 0%, 1.6%)
CIE-LABlab(63.12, 44.56, -54.75)
CIE-LCHlch(63.12, 70.59, 309.14°)
OKLaboklab(70.04% 0.0935 -0.154)
OKLCHoklch(70.04% 0.18 301.3)
XYZxyz(43.5884, 31.7273, 95.0757)
Luminance0.3173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37FFB #C7FB7F
analogous
#7F89FB #B37FFB #F17FFB
triadic
#B37FFB #FBB37F #7FFBB3
tetradic
#B37FFB #FB7F89 #C7FB7F #7FFBF1
square
#B37FFB #FB7F89 #C7FB7F #7FFBF1
split-complementary
#B37FFB #FBF17F #89FB7F
monochromatic
#6D08F7 #9044F9 #B37FFB #D6BAFD #EDE1FE

Accessibility & contrast

On white

2.86
#B37FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B37FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37FFB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37FFB#FFFFFF#000000##000000
##B37FFB1.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FF
Deuteranopia (green-blind)
#6498F8
Tritanopia (blue-blind)
#A596B1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b37ffb;
/* rgb */ color: rgb(179, 127, 251);
/* oklch */ color: oklch(70.0% 0.180 301.3);
Tailwind
colors: {
  custom: {
    50: '#cda5fd',
    500: '#b37ffb',
    950: '#000000',
  },
}
SCSS
$custom: #b37ffb;
$custom-light: #cda5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#b37ffb",
  "rgb": {
    "r": 179,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 265.161,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.70044,
    "c": 0.18017,
    "h": 301.3
  },
  "luminance": 0.31727
}

Semantic roles & 50–950 ramp

primary
#B37FFB
secondary
#E8F6D5
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B37FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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