#B370DF#B370DF

#B370DF is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.171 H 310.4°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#B370DF
RGBrgb(179, 112, 223)
HSLhsl(276, 63%, 66%)
HSVhsv(276, 50%, 87%)
CMYKcmyk(19.7%, 49.8%, 0%, 12.5%)
CIE-LABlab(58.51, 46.22, -46.52)
CIE-LCHlch(58.51, 65.58, 314.81°)
OKLaboklab(66.15% 0.1106 -0.13)
OKLCHoklch(66.15% 0.171 310.4)
XYZxyz(37.7014, 26.5004, 72.9267)
Luminance0.2650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370DF #9CDF70
analogous
#7B70DF #B370DF #DF70D4
triadic
#B370DF #DFB370 #70DFB3
tetradic
#B370DF #DF7B70 #9CDF70 #70D4DF
square
#B370DF #DF7B70 #9CDF70 #70D4DF
split-complementary
#B370DF #D4DF70 #70DF7B
monochromatic
#7827AE #983ED4 #B370DF #CEA2EA #E8D4F5

Accessibility & contrast

On white

3.33
#B370DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#B370DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370DF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370DF#FFFFFF#000000##000000
##B370DF1.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#548AE3
Deuteranopia (green-blind)
#678EDC
Tritanopia (blue-blind)
#AE829D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #b370df;
/* rgb */ color: rgb(179, 112, 223);
/* oklch */ color: oklch(66.2% 0.171 310.4);
Tailwind
colors: {
  custom: {
    50: '#cc9be9',
    500: '#b370df',
    950: '#000000',
  },
}
SCSS
$custom: #b370df;
$custom-light: #cc9be9;
$custom-dark: #000000;
JSON
{
  "hex": "#b370df",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 223
  },
  "hsl": {
    "h": 276.216,
    "s": 63.429,
    "l": 65.686
  },
  "oklch": {
    "l": 0.66151,
    "c": 0.17066,
    "h": 310.4
  },
  "luminance": 0.265
}

Semantic roles & 50–950 ramp

primary
#B370DF
secondary
#D2E8C3
accent
#CB1A60
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B370DF

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

Preview Lab → · Contrast checker → · Palette generator →

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