#B370F8#B370F8

#B370F8 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.6% C 0.199 H 304.3°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#B370F8
RGBrgb(179, 112, 248)
HSLhsl(270, 91%, 71%)
HSVhsv(270, 55%, 97%)
CMYKcmyk(27.8%, 54.8%, 0%, 2.7%)
CIE-LABlab(59.84, 51.87, -58.32)
CIE-LCHlch(59.84, 78.05, 311.65°)
OKLaboklab(67.57% 0.1123 -0.1644)
OKLCHoklch(67.57% 0.199 304.3)
XYZxyz(41.3241, 27.9495, 92.0065)
Luminance0.2795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370F8 #B5F870
analogous
#7071F8 #B370F8 #F770F8
triadic
#B370F8 #F8B370 #70F8B3
tetradic
#B370F8 #F87071 #B5F870 #70F8F7
square
#B370F8 #F87071 #B5F870 #70F8F7
split-complementary
#B370F8 #F8F770 #71F870
monochromatic
#750BE3 #9436F5 #B370F8 #D2AAFB #EFE2FE

Accessibility & contrast

On white

3.19
#B370F8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#B370F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370F8
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370F8#FFFFFF#000000##000000
##B370F81.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D8EFD
Deuteranopia (green-blind)
#5590F5
Tritanopia (blue-blind)
#A78AAA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b370f8;
/* rgb */ color: rgb(179, 112, 248);
/* oklch */ color: oklch(67.6% 0.199 304.3);
Tailwind
colors: {
  custom: {
    50: '#cd9bfb',
    500: '#b370f8',
    950: '#000000',
  },
}
SCSS
$custom: #b370f8;
$custom-light: #cd9bfb;
$custom-dark: #000000;
JSON
{
  "hex": "#b370f8",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 248
  },
  "hsl": {
    "h": 269.559,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.67568,
    "c": 0.19912,
    "h": 304.3
  },
  "luminance": 0.27949
}

Semantic roles & 50–950 ramp

primary
#B370F8
secondary
#E2F4CF
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370F8

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

Preview Lab → · Contrast checker → · Palette generator →

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