#B370DD#B370DD

#B370DD is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.168 H 311.0°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B370DD
RGBrgb(179, 112, 221)
HSLhsl(277, 62%, 65%)
HSVhsv(277, 49%, 87%)
CMYKcmyk(19%, 49.3%, 0%, 13.3%)
CIE-LABlab(58.41, 45.78, -45.56)
CIE-LCHlch(58.41, 64.58, 315.14°)
OKLaboklab(66.04% 0.1104 -0.1272)
OKLCHoklch(66.04% 0.168 311)
XYZxyz(37.4334, 26.3932, 71.5150)
Luminance0.2639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370DD #9ADD70
analogous
#7C70DD #B370DD #DD70D0
triadic
#B370DD #DDB370 #70DDB3
tetradic
#B370DD #DD7C70 #9ADD70 #70D0DD
square
#B370DD #DD7C70 #9ADD70 #70D0DD
split-complementary
#B370DD #D0DD70 #70DD7C
monochromatic
#7828AA #993FD1 #B370DD #CDA1E9 #E8D3F5

Accessibility & contrast

On white

3.34
#B370DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#B370DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370DD
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370DD#FFFFFF#000000##000000
##B370DD1.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5589E1
Deuteranopia (green-blind)
#698EDA
Tritanopia (blue-blind)
#AE829C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b370dd;
/* rgb */ color: rgb(179, 112, 221);
/* oklch */ color: oklch(66.0% 0.168 311.0);
Tailwind
colors: {
  custom: {
    50: '#cc9be8',
    500: '#b370dd',
    950: '#000000',
  },
}
SCSS
$custom: #b370dd;
$custom-light: #cc9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#b370dd",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 221
  },
  "hsl": {
    "h": 276.881,
    "s": 61.582,
    "l": 65.294
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.16839,
    "h": 311
  },
  "luminance": 0.26393
}

Semantic roles & 50–950 ramp

primary
#B370DD
secondary
#D0E7C2
accent
#C91C5F
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B370DD

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

Preview Lab → · Contrast checker → · Palette generator →

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