#B370FE#B370FE

#B370FE is a light, highly saturated violet. Relative luminance 0.283; OKLCH L 67.9% C 0.206 H 303.1°. Best body text is #000000 at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#B370FE
RGBrgb(179, 112, 254)
HSLhsl(268, 99%, 72%)
HSVhsv(268, 56%, 100%)
CMYKcmyk(29.5%, 55.9%, 0%, 0.4%)
CIE-LABlab(60.18, 53.27, -61.08)
CIE-LCHlch(60.18, 81.05, 311.09°)
OKLaboklab(67.93% 0.1125 -0.1725)
OKLCHoklch(67.93% 0.206 303.1)
XYZxyz(42.2699, 28.3278, 96.9876)
Luminance0.2833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370FE #BBFE70
analogous
#7074FE #B370FE #FA70FE
triadic
#B370FE #FEB370 #70FEB3
tetradic
#B370FE #FE7074 #BBFE70 #70FEFA
square
#B370FE #FE7074 #BBFE70 #70FEFA
split-complementary
#B370FE #FEFA70 #74FE70
monochromatic
#7302F2 #9333FE #B370FE #D3ADFE #EFE1FF

Accessibility & contrast

On white

3.15
#B370FE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.67
#B370FE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370FE
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370FE#FFFFFF#000000##000000
##B370FE1.003.156.676.67
#FFFFFF3.151.0021.0021.00
#0000006.6721.001.001.00
##0000006.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3590FF
Deuteranopia (green-blind)
#4F91FB
Tritanopia (blue-blind)
#A58CAD
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b370fe;
/* rgb */ color: rgb(179, 112, 254);
/* oklch */ color: oklch(67.9% 0.206 303.1);
Tailwind
colors: {
  custom: {
    50: '#cd9bff',
    500: '#b370fe',
    950: '#000000',
  },
}
SCSS
$custom: #b370fe;
$custom-light: #cd9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b370fe",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 254
  },
  "hsl": {
    "h": 268.31,
    "s": 98.611,
    "l": 71.765
  },
  "oklch": {
    "l": 0.67928,
    "c": 0.20595,
    "h": 303.1
  },
  "luminance": 0.28328
}

Semantic roles & 50–950 ramp

primary
#B370FE
secondary
#E6F7D3
accent
#E60079
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B370FE

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

Preview Lab → · Contrast checker → · Palette generator →

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