#B37BFC#B37BFC

#B37BFC is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.5% C 0.187 H 301.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#B37BFC
RGBrgb(179, 123, 252)
HSLhsl(266, 96%, 74%)
HSVhsv(266, 51%, 99%)
CMYKcmyk(29%, 51.2%, 0%, 1.2%)
CIE-LABlab(62.32, 46.97, -56.57)
CIE-LCHlch(62.32, 73.53, 309.70°)
OKLaboklab(69.47% 0.0987 -0.1593)
OKLCHoklch(69.47% 0.187 301.8)
XYZxyz(43.2400, 30.7778, 95.7393)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37BFC #C4FC7B
analogous
#7B83FC #B37BFC #F47BFC
triadic
#B37BFC #FCB37B #7BFCB3
tetradic
#B37BFC #FC7B83 #C4FC7B #7BFCF4
square
#B37BFC #FC7B83 #C4FC7B #7BFCF4
split-complementary
#B37BFC #FCF47B #83FC7B
monochromatic
#6E06F7 #913FFB #B37BFC #D5B7FD #EEE1FE

Accessibility & contrast

On white

2.93
#B37BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#B37BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37BFC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37BFC#FFFFFF#000000##000000
##B37BFC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F96FF
Deuteranopia (green-blind)
#5F96F9
Tritanopia (blue-blind)
#A593B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37bfc;
/* rgb */ color: rgb(179, 123, 252);
/* oklch */ color: oklch(69.5% 0.187 301.8);
Tailwind
colors: {
  custom: {
    50: '#cda2fe',
    500: '#b37bfc',
    950: '#000000',
  },
}
SCSS
$custom: #b37bfc;
$custom-light: #cda2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b37bfc",
  "rgb": {
    "r": 179,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 266.047,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69468,
    "c": 0.18741,
    "h": 301.8
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#B37BFC
secondary
#E8F7D4
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86

Preview Lab

Preview with #B37BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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