#B370DB#B370DB

#B370DB is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.9% C 0.166 H 311.5°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#B370DB
RGBrgb(179, 112, 219)
HSLhsl(278, 60%, 65%)
HSVhsv(278, 49%, 86%)
CMYKcmyk(18.3%, 48.9%, 0%, 14.1%)
CIE-LABlab(58.31, 45.34, -44.59)
CIE-LCHlch(58.31, 63.59, 315.48°)
OKLaboklab(65.94% 0.1101 -0.1244)
OKLCHoklch(65.94% 0.166 311.5)
XYZxyz(37.1685, 26.2873, 70.1200)
Luminance0.2629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370DB #98DB70
analogous
#7D70DB #B370DB #DB70CE
triadic
#B370DB #DBB370 #70DBB3
tetradic
#B370DB #DB7D70 #98DB70 #70CEDB
square
#B370DB #DB7D70 #98DB70 #70CEDB
split-complementary
#B370DB #CEDB70 #70DB7D
monochromatic
#782AA7 #993FCF #B370DB #CDA1E7 #E7D2F4

Accessibility & contrast

On white

3.36
#B370DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#B370DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370DB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370DB#FFFFFF#000000##000000
##B370DB1.003.366.266.26
#FFFFFF3.361.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5689DF
Deuteranopia (green-blind)
#6A8ED8
Tritanopia (blue-blind)
#AF819B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b370db;
/* rgb */ color: rgb(179, 112, 219);
/* oklch */ color: oklch(65.9% 0.166 311.5);
Tailwind
colors: {
  custom: {
    50: '#cc9be6',
    500: '#b370db',
    950: '#000000',
  },
}
SCSS
$custom: #b370db;
$custom-light: #cc9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b370db",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 277.57,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.65937,
    "c": 0.16613,
    "h": 311.5
  },
  "luminance": 0.26287
}

Semantic roles & 50–950 ramp

primary
#B370DB
secondary
#CFE6C1
accent
#C71E5D
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B370DB

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

Preview Lab → · Contrast checker → · Palette generator →

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