#B37DFA#B37DFA

#B37DFA is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.7% C 0.182 H 301.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#B37DFA
RGBrgb(179, 125, 250)
HSLhsl(266, 93%, 74%)
HSVhsv(266, 50%, 98%)
CMYKcmyk(28.4%, 50%, 0%, 2%)
CIE-LABlab(62.64, 45.41, -54.97)
CIE-LCHlch(62.64, 71.30, 309.56°)
OKLaboklab(69.67% 0.096 -0.1546)
OKLCHoklch(69.67% 0.182 301.8)
XYZxyz(43.1754, 31.1530, 94.1625)
Luminance0.3115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B37DFA #C4FA7D
analogous
#7D85FA #B37DFA #F27DFA
triadic
#B37DFA #FAB37D #7DFAB3
tetradic
#B37DFA #FA7D85 #C4FA7D #7DFAF2
square
#B37DFA #FA7D85 #C4FA7D #7DFAF2
split-complementary
#B37DFA #FAF27D #85FA7D
monochromatic
#6E09F3 #9142F8 #B37DFA #D5B8FC #EEE2FE

Accessibility & contrast

On white

2.90
#B37DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#B37DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B37DFA
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B37DFA#FFFFFF#000000##000000
##B37DFA1.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FE
Deuteranopia (green-blind)
#6397F7
Tritanopia (blue-blind)
#A694B0
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #b37dfa;
/* rgb */ color: rgb(179, 125, 250);
/* oklch */ color: oklch(69.7% 0.182 301.8);
Tailwind
colors: {
  custom: {
    50: '#cda4fc',
    500: '#b37dfa',
    950: '#000000',
  },
}
SCSS
$custom: #b37dfa;
$custom-light: #cda4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#b37dfa",
  "rgb": {
    "r": 179,
    "g": 125,
    "b": 250
  },
  "hsl": {
    "h": 265.92,
    "s": 92.593,
    "l": 73.529
  },
  "oklch": {
    "l": 0.69669,
    "c": 0.18201,
    "h": 301.8
  },
  "luminance": 0.31153
}

Semantic roles & 50–950 ramp

primary
#B37DFA
secondary
#E8F6D5
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B37DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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