#B372DA#B372DA

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

Color values

HEX#B372DA
RGBrgb(179, 114, 218)
HSLhsl(278, 58%, 65%)
HSVhsv(278, 48%, 85%)
CMYKcmyk(17.9%, 47.7%, 0%, 14.5%)
CIE-LABlab(58.68, 44.05, -43.45)
CIE-LCHlch(58.68, 61.87, 315.39°)
OKLaboklab(66.2% 0.1073 -0.1211)
OKLCHoklch(66.2% 0.162 311.5)
XYZxyz(37.2604, 26.6810, 69.5032)
Luminance0.2668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372DA #99DA72
analogous
#7F72DA #B372DA #DA72CD
triadic
#B372DA #DAB372 #72DAB3
tetradic
#B372DA #DA7F72 #99DA72 #72CDDA
square
#B372DA #DA7F72 #99DA72 #72CDDA
split-complementary
#B372DA #CDDA72 #72DA7F
monochromatic
#782CA6 #9942CD #B372DA #CDA2E7 #E7D3F3

Accessibility & contrast

On white

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

On black

6.34
#B372DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372DA
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372DA#FFFFFF#000000##000000
##B372DA1.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A8ADE
Deuteranopia (green-blind)
#6C8FD7
Tritanopia (blue-blind)
#AF829C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b372da;
/* rgb */ color: rgb(179, 114, 218);
/* oklch */ color: oklch(66.2% 0.162 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc9ce6',
    500: '#b372da',
    950: '#000000',
  },
}
SCSS
$custom: #b372da;
$custom-light: #cc9ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#b372da",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 218
  },
  "hsl": {
    "h": 277.5,
    "s": 58.427,
    "l": 65.098
  },
  "oklch": {
    "l": 0.66195,
    "c": 0.16175,
    "h": 311.5
  },
  "luminance": 0.2668
}

Semantic roles & 50–950 ramp

primary
#B372DA
secondary
#CFE6C2
accent
#C61F5E
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B372DA

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

Preview Lab → · Contrast checker → · Palette generator →

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