#B372DD#B372DD

#B372DD is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.4% C 0.165 H 310.7°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#B372DD
RGBrgb(179, 114, 221)
HSLhsl(276, 61%, 66%)
HSVhsv(276, 48%, 87%)
CMYKcmyk(19%, 48.4%, 0%, 13.3%)
CIE-LABlab(58.83, 44.71, -44.90)
CIE-LCHlch(58.83, 63.36, 314.87°)
OKLaboklab(66.35% 0.1076 -0.1253)
OKLCHoklch(66.35% 0.165 310.7)
XYZxyz(37.6565, 26.8395, 71.5894)
Luminance0.2684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372DD #9CDD72
analogous
#7D72DD #B372DD #DD72D1
triadic
#B372DD #DDB372 #72DDB3
tetradic
#B372DD #DD7D72 #9CDD72 #72D1DD
square
#B372DD #DD7D72 #9CDD72 #72D1DD
split-complementary
#B372DD #D1DD72 #72DD7D
monochromatic
#7829AB #9841D1 #B372DD #CEA3E9 #E8D5F5

Accessibility & contrast

On white

3.30
#B372DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#B372DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372DD
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372DD#FFFFFF#000000##000000
##B372DD1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#588AE1
Deuteranopia (green-blind)
#6A8FDA
Tritanopia (blue-blind)
#AE839D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b372dd;
/* rgb */ color: rgb(179, 114, 221);
/* oklch */ color: oklch(66.4% 0.165 310.7);
Tailwind
colors: {
  custom: {
    50: '#cc9ce8',
    500: '#b372dd',
    950: '#000000',
  },
}
SCSS
$custom: #b372dd;
$custom-light: #cc9ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#b372dd",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 221
  },
  "hsl": {
    "h": 276.449,
    "s": 61.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66353,
    "c": 0.16516,
    "h": 310.7
  },
  "luminance": 0.26839
}

Semantic roles & 50–950 ramp

primary
#B372DD
secondary
#D2E7C4
accent
#C91D60
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372DD

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

Preview Lab → · Contrast checker → · Palette generator →

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