#B37DFC#B37DFC

#B37DFC is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.8% C 0.184 H 301.4°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B37DFC
RGBrgb(179, 125, 252)
HSLhsl(266, 95%, 74%)
HSVhsv(266, 50%, 99%)
CMYKcmyk(29%, 50.4%, 0%, 1.2%)
CIE-LABlab(62.74, 45.88, -55.90)
CIE-LCHlch(62.74, 72.32, 309.38°)
OKLaboklab(69.78% 0.0961 -0.1574)
OKLCHoklch(69.78% 0.184 301.4)
XYZxyz(43.4907, 31.2791, 95.8228)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37DFC #C6FC7D
analogous
#7D87FC #B37DFC #F37DFC
triadic
#B37DFC #FCB37D #7DFCB3
tetradic
#B37DFC #FC7D87 #C6FC7D #7DFCF3
square
#B37DFC #FC7D87 #C6FC7D #7DFCF3
split-complementary
#B37DFC #FCF37D #87FC7D
monochromatic
#6D06F9 #9041FB #B37DFC #D6B9FD #EEE1FE

Accessibility & contrast

On white

2.89
#B37DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B37DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37DFC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37DFC#FFFFFF#000000##000000
##B37DFC1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#6197F9
Tritanopia (blue-blind)
#A595B1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b37dfc;
/* rgb */ color: rgb(179, 125, 252);
/* oklch */ color: oklch(69.8% 0.184 301.4);
Tailwind
colors: {
  custom: {
    50: '#cda4fe',
    500: '#b37dfc',
    950: '#000000',
  },
}
SCSS
$custom: #b37dfc;
$custom-light: #cda4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#b37dfc",
  "rgb": {
    "r": 179,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 265.512,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.69782,
    "c": 0.18441,
    "h": 301.4
  },
  "luminance": 0.31279
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B37DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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