#B37DF2#B37DF2

#B37DF2 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.2% C 0.172 H 303.5°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#B37DF2
RGBrgb(179, 125, 242)
HSLhsl(268, 82%, 72%)
HSVhsv(268, 48%, 95%)
CMYKcmyk(26%, 48.3%, 0%, 5.1%)
CIE-LABlab(62.22, 43.52, -51.22)
CIE-LCHlch(62.22, 67.21, 310.35°)
OKLaboklab(69.23% 0.0952 -0.1437)
OKLCHoklch(69.23% 0.172 303.5)
XYZxyz(41.9475, 30.6618, 87.6956)
Luminance0.3066 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37DF2 #BCF27D
analogous
#7D82F2 #B37DF2 #ED7DF2
triadic
#B37DF2 #F2B37D #7DF2B3
tetradic
#B37DF2 #F27D82 #BCF27D #7DF2ED
square
#B37DF2 #F27D82 #BCF27D #7DF2ED
split-complementary
#B37DF2 #F2ED7D #82F27D
monochromatic
#7316DE #9245EC #B37DF2 #D4B5F8 #EFE3FC

Accessibility & contrast

On white

2.94
#B37DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#B37DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37DF2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37DF2#FFFFFF#000000##000000
##B37DF21.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#6896EF
Tritanopia (blue-blind)
#A892AC
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b37df2;
/* rgb */ color: rgb(179, 125, 242);
/* oklch */ color: oklch(69.2% 0.172 303.5);
Tailwind
colors: {
  custom: {
    50: '#cca4f7',
    500: '#b37df2',
    950: '#000000',
  },
}
SCSS
$custom: #b37df2;
$custom-light: #cca4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#b37df2",
  "rgb": {
    "r": 179,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 267.692,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.69225,
    "c": 0.17237,
    "h": 303.5
  },
  "luminance": 0.30662
}

Semantic roles & 50–950 ramp

primary
#B37DF2
secondary
#E7F4D7
accent
#DE077B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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