#B370F3#B370F3

#B370F3 is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.3% C 0.193 H 305.4°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#B370F3
RGBrgb(179, 112, 243)
HSLhsl(271, 85%, 70%)
HSVhsv(271, 54%, 95%)
CMYKcmyk(26.3%, 53.9%, 0%, 4.7%)
CIE-LABlab(59.57, 50.72, -55.99)
CIE-LCHlch(59.57, 75.55, 312.17°)
OKLaboklab(67.27% 0.1121 -0.1576)
OKLCHoklch(67.27% 0.193 305.4)
XYZxyz(40.5588, 27.6434, 87.9756)
Luminance0.2764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370F3 #B0F370
analogous
#7270F3 #B370F3 #F370F2
triadic
#B370F3 #F3B370 #70F3B3
tetradic
#B370F3 #F37270 #B0F370 #70F2F3
square
#B370F3 #F37270 #B0F370 #70F2F3
split-complementary
#B370F3 #F2F370 #70F372
monochromatic
#7712D7 #9538EE #B370F3 #D1A8F8 #EFE1FC

Accessibility & contrast

On white

3.22
#B370F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#B370F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370F3
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370F3#FFFFFF#000000##000000
##B370F31.003.226.536.53
#FFFFFF3.221.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#438DF7
Deuteranopia (green-blind)
#5990F0
Tritanopia (blue-blind)
#A888A7
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b370f3;
/* rgb */ color: rgb(179, 112, 243);
/* oklch */ color: oklch(67.3% 0.193 305.4);
Tailwind
colors: {
  custom: {
    50: '#cd9bf8',
    500: '#b370f3',
    950: '#000000',
  },
}
SCSS
$custom: #b370f3;
$custom-light: #cd9bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#b370f3",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 270.687,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.67274,
    "c": 0.19342,
    "h": 305.4
  },
  "luminance": 0.27643
}

Semantic roles & 50–950 ramp

primary
#B370F3
secondary
#DFF2CD
accent
#E10570
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370F3

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

Preview Lab → · Contrast checker → · Palette generator →

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