#B370DA#B370DA

#B370DA is a light, vivid violet. Relative luminance 0.262; OKLCH L 65.9% C 0.165 H 311.8°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#B370DA
RGBrgb(179, 112, 218)
HSLhsl(278, 59%, 65%)
HSVhsv(278, 49%, 85%)
CMYKcmyk(17.9%, 48.6%, 0%, 14.5%)
CIE-LABlab(58.26, 45.12, -44.11)
CIE-LCHlch(58.26, 63.10, 315.65°)
OKLaboklab(65.88% 0.11 -0.123)
OKLCHoklch(65.88% 0.165 311.8)
XYZxyz(37.0372, 26.2348, 69.4288)
Luminance0.2623 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370DA #97DA70
analogous
#7E70DA #B370DA #DA70CC
triadic
#B370DA #DAB370 #70DAB3
tetradic
#B370DA #DA7E70 #97DA70 #70CCDA
square
#B370DA #DA7E70 #97DA70 #70CCDA
split-complementary
#B370DA #CCDA70 #70DA7E
monochromatic
#782BA5 #993FCD #B370DA #CDA1E7 #E7D1F3

Accessibility & contrast

On white

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

On black

6.25
#B370DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370DA
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370DA#FFFFFF#000000##000000
##B370DA1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5789DE
Deuteranopia (green-blind)
#6A8ED7
Tritanopia (blue-blind)
#AF819B
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #b370da;
/* rgb */ color: rgb(179, 112, 218);
/* oklch */ color: oklch(65.9% 0.165 311.8);
Tailwind
colors: {
  custom: {
    50: '#cc9be6',
    500: '#b370da',
    950: '#000000',
  },
}
SCSS
$custom: #b370da;
$custom-light: #cc9be6;
$custom-dark: #000000;
JSON
{
  "hex": "#b370da",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 218
  },
  "hsl": {
    "h": 277.925,
    "s": 58.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.65884,
    "c": 0.165,
    "h": 311.8
  },
  "luminance": 0.26234
}

Semantic roles & 50–950 ramp

primary
#B370DA
secondary
#CEE5C1
accent
#C71F5D
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B370DA

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

Preview Lab → · Contrast checker → · Palette generator →

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