#B370FB#B370FB

#B370FB is a light, highly saturated violet. Relative luminance 0.281; OKLCH L 67.7% C 0.203 H 303.7°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#B370FB
RGBrgb(179, 112, 251)
HSLhsl(269, 95%, 71%)
HSVhsv(269, 55%, 98%)
CMYKcmyk(28.7%, 55.4%, 0%, 1.6%)
CIE-LABlab(60.01, 52.57, -59.70)
CIE-LCHlch(60.01, 79.55, 311.37°)
OKLaboklab(67.75% 0.1124 -0.1685)
OKLCHoklch(67.75% 0.203 303.7)
XYZxyz(41.7933, 28.1372, 94.4773)
Luminance0.2814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370FB #B8FB70
analogous
#7072FB #B370FB #F970FB
triadic
#B370FB #FBB370 #70FBB3
tetradic
#B370FB #FB7072 #B8FB70 #70FBF9
square
#B370FB #FB7072 #B8FB70 #70FBF9
split-complementary
#B370FB #FBF970 #72FB70
monochromatic
#7407EA #9334F9 #B370FB #D3ACFD #EFE1FE

Accessibility & contrast

On white

3.17
#B370FB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#B370FB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370FB
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370FB#FFFFFF#000000##000000
##B370FB1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#5290F8
Tritanopia (blue-blind)
#A68BAB
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b370fb;
/* rgb */ color: rgb(179, 112, 251);
/* oklch */ color: oklch(67.7% 0.203 303.7);
Tailwind
colors: {
  custom: {
    50: '#cd9bfd',
    500: '#b370fb',
    950: '#000000',
  },
}
SCSS
$custom: #b370fb;
$custom-light: #cd9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#b370fb",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 251
  },
  "hsl": {
    "h": 268.921,
    "s": 94.558,
    "l": 71.176
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.20253,
    "h": 303.7
  },
  "luminance": 0.28137
}

Semantic roles & 50–950 ramp

primary
#B370FB
secondary
#E4F6D1
accent
#E60077
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B370FB

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

Preview Lab → · Contrast checker → · Palette generator →

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