#B372DB#B372DB

#B372DB is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.2% C 0.163 H 311.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#B372DB
RGBrgb(179, 114, 219)
HSLhsl(277, 59%, 65%)
HSVhsv(277, 48%, 86%)
CMYKcmyk(18.3%, 47.9%, 0%, 14.1%)
CIE-LABlab(58.73, 44.27, -43.93)
CIE-LCHlch(58.73, 62.37, 315.22°)
OKLaboklab(66.25% 0.1074 -0.1225)
OKLCHoklch(66.25% 0.163 311.2)
XYZxyz(37.3916, 26.7335, 70.1944)
Luminance0.2673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372DB #9ADB72
analogous
#7E72DB #B372DB #DB72CE
triadic
#B372DB #DBB372 #72DBB3
tetradic
#B372DB #DB7E72 #9ADB72 #72CEDB
square
#B372DB #DB7E72 #9ADB72 #72CEDB
split-complementary
#B372DB #CEDB72 #72DB7E
monochromatic
#782BA8 #9941CF #B372DB #CDA3E7 #E8D4F4

Accessibility & contrast

On white

3.31
#B372DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#B372DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372DB
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372DB#FFFFFF#000000##000000
##B372DB1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#598ADF
Deuteranopia (green-blind)
#6C8FD8
Tritanopia (blue-blind)
#AF839C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b372db;
/* rgb */ color: rgb(179, 114, 219);
/* oklch */ color: oklch(66.2% 0.163 311.2);
Tailwind
colors: {
  custom: {
    50: '#cc9ce6',
    500: '#b372db',
    950: '#000000',
  },
}
SCSS
$custom: #b372db;
$custom-light: #cc9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b372db",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 219
  },
  "hsl": {
    "h": 277.143,
    "s": 59.322,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66248,
    "c": 0.16289,
    "h": 311.2
  },
  "luminance": 0.26733
}

Semantic roles & 50–950 ramp

primary
#B372DB
secondary
#D0E6C3
accent
#C71F5F
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372DB

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

Preview Lab → · Contrast checker → · Palette generator →

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