#B370F6#B370F6

#B370F6 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.5% C 0.197 H 304.8°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#B370F6
RGBrgb(179, 112, 246)
HSLhsl(270, 88%, 70%)
HSVhsv(270, 54%, 96%)
CMYKcmyk(27.2%, 54.5%, 0%, 3.5%)
CIE-LABlab(59.73, 51.41, -57.39)
CIE-LCHlch(59.73, 77.05, 311.85°)
OKLaboklab(67.45% 0.1122 -0.1617)
OKLCHoklch(67.45% 0.197 304.8)
XYZxyz(41.0155, 27.8261, 90.3811)
Luminance0.2783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370F6 #B3F670
analogous
#7070F6 #B370F6 #F670F6
triadic
#B370F6 #F6B370 #70F6B3
tetradic
#B370F6 #F67070 #B3F670 #70F6F6
square
#B370F6 #F67070 #B3F670 #70F6F6
split-complementary
#B370F6 #F6F670 #70F670
monochromatic
#760EDE #9436F2 #B370F6 #D2AAFA #F0E2FD

Accessibility & contrast

On white

3.20
#B370F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#B370F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370F6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370F6#FFFFFF#000000##000000
##B370F61.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F8EFA
Deuteranopia (green-blind)
#5790F3
Tritanopia (blue-blind)
#A789A9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b370f6;
/* rgb */ color: rgb(179, 112, 246);
/* oklch */ color: oklch(67.5% 0.197 304.8);
Tailwind
colors: {
  custom: {
    50: '#cd9bfa',
    500: '#b370f6',
    950: '#000000',
  },
}
SCSS
$custom: #b370f6;
$custom-light: #cd9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b370f6",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 246
  },
  "hsl": {
    "h": 270,
    "s": 88.158,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6745,
    "c": 0.19684,
    "h": 304.8
  },
  "luminance": 0.27826
}

Semantic roles & 50–950 ramp

primary
#B370F6
secondary
#E1F3CE
accent
#E50173
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370F6

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

Preview Lab → · Contrast checker → · Palette generator →

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