#B370BC#B370BC

#B370BC is a light, vivid purple. Relative luminance 0.248; OKLCH L 64.4% C 0.132 H 322.6°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#B370BC
RGBrgb(179, 112, 188)
HSLhsl(293, 36%, 59%)
HSVhsv(293, 40%, 74%)
CMYKcmyk(4.8%, 40.4%, 0%, 26.3%)
CIE-LABlab(56.88, 38.89, -29.25)
CIE-LCHlch(56.88, 48.66, 323.06°)
OKLaboklab(64.41% 0.105 -0.0801)
OKLCHoklch(64.41% 0.132 322.6)
XYZxyz(33.4607, 24.8041, 50.5923)
Luminance0.2480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370BC #79BC70
analogous
#8D70BC #B370BC #BC709F
triadic
#B370BC #BCB370 #70BCB3
tetradic
#B370BC #BC8D70 #79BC70 #709FBC
square
#B370BC #BC8D70 #79BC70 #709FBC
split-complementary
#B370BC #9FBC70 #70BC8D
monochromatic
#713979 #984CA3 #B370BC #C99AD0 #DFC3E3

Accessibility & contrast

On white

3.52
#B370BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#B370BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370BC
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370BC#FFFFFF#000000##000000
##B370BC1.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784BF
Deuteranopia (green-blind)
#798BBA
Tritanopia (blue-blind)
#B5798D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #b370bc;
/* rgb */ color: rgb(179, 112, 188);
/* oklch */ color: oklch(64.4% 0.132 322.6);
Tailwind
colors: {
  custom: {
    50: '#cb9ad0',
    500: '#b370bc',
    950: '#000000',
  },
}
SCSS
$custom: #b370bc;
$custom-light: #cb9ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#b370bc",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 188
  },
  "hsl": {
    "h": 292.895,
    "s": 36.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.64407,
    "c": 0.13209,
    "h": 322.6
  },
  "luminance": 0.24803
}

Semantic roles & 50–950 ramp

primary
#B370BC
secondary
#B8D3B5
accent
#CC5C69
background
#FCF9FC
surface
#F9F2F9
border
#D2CCD2
text
#130E14
muted
#827E82

Preview Lab

Preview with #B370BC

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

Preview Lab → · Contrast checker → · Palette generator →

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