#B372ED#B372ED

#B372ED is a light, vivid violet. Relative luminance 0.277; OKLCH L 67.2% C 0.184 H 306.5°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B372ED
RGBrgb(179, 114, 237)
HSLhsl(272, 77%, 69%)
HSVhsv(272, 52%, 93%)
CMYKcmyk(24.5%, 51.9%, 0%, 7.1%)
CIE-LABlab(59.65, 48.29, -52.53)
CIE-LCHlch(59.65, 71.36, 312.59°)
OKLaboklab(67.23% 0.1092 -0.1475)
OKLCHoklch(67.23% 0.184 306.5)
XYZxyz(39.8906, 27.7331, 83.3559)
Luminance0.2773 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B372ED #ACED72
analogous
#7672ED #B372ED #ED72EA
triadic
#B372ED #EDB372 #72EDB3
tetradic
#B372ED #ED7672 #ACED72 #72EAED
square
#B372ED #ED7672 #ACED72 #72EAED
split-complementary
#B372ED #EAED72 #72ED76
monochromatic
#771ACB #963CE6 #B372ED #D0A8F4 #EEDFFB

Accessibility & contrast

On white

3.21
#B372ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B372ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B372ED
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B372ED#FFFFFF#000000##000000
##B372ED1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C8DF1
Deuteranopia (green-blind)
#6090EA
Tritanopia (blue-blind)
#AA88A5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b372ed;
/* rgb */ color: rgb(179, 114, 237);
/* oklch */ color: oklch(67.2% 0.184 306.5);
Tailwind
colors: {
  custom: {
    50: '#cc9cf3',
    500: '#b372ed',
    950: '#000000',
  },
}
SCSS
$custom: #b372ed;
$custom-light: #cc9cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b372ed",
  "rgb": {
    "r": 179,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 271.707,
    "s": 77.358,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67229,
    "c": 0.18352,
    "h": 306.5
  },
  "luminance": 0.27733
}

Semantic roles & 50–950 ramp

primary
#B372ED
secondary
#DCF0CB
accent
#DA0C6D
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B372ED

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

Preview Lab → · Contrast checker → · Palette generator →

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