#B372DC#B372DC

#B372DC is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.164 H 311.0°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#B372DC
RGBrgb(179, 114, 220)
HSLhsl(277, 60%, 65%)
HSVhsv(277, 48%, 86%)
CMYKcmyk(18.6%, 48.2%, 0%, 13.7%)
CIE-LABlab(58.78, 44.49, -44.42)
CIE-LCHlch(58.78, 62.87, 315.04°)
OKLaboklab(66.3% 0.1075 -0.1239)
OKLCHoklch(66.3% 0.164 311)
XYZxyz(37.5237, 26.7863, 70.8898)
Luminance0.2679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372DC #9BDC72
analogous
#7E72DC #B372DC #DC72D0
triadic
#B372DC #DCB372 #72DCB3
tetradic
#B372DC #DC7E72 #9BDC72 #72D0DC
square
#B372DC #DC7E72 #9BDC72 #72D0DC
split-complementary
#B372DC #D0DC72 #72DC7E
monochromatic
#782AAA #9941D0 #B372DC #CDA3E8 #E8D4F4

Accessibility & contrast

On white

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

On black

6.36
#B372DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372DC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372DC#FFFFFF#000000##000000
##B372DC1.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#598AE0
Deuteranopia (green-blind)
#6B8FD9
Tritanopia (blue-blind)
#AE839D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b372dc;
/* rgb */ color: rgb(179, 114, 220);
/* oklch */ color: oklch(66.3% 0.164 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc9ce7',
    500: '#b372dc',
    950: '#000000',
  },
}
SCSS
$custom: #b372dc;
$custom-light: #cc9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#b372dc",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 276.792,
    "s": 60.227,
    "l": 65.49
  },
  "oklch": {
    "l": 0.663,
    "c": 0.16403,
    "h": 311
  },
  "luminance": 0.26786
}

Semantic roles & 50–950 ramp

primary
#B372DC
secondary
#D1E7C3
accent
#C81E5F
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372DC

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

Preview Lab → · Contrast checker → · Palette generator →

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