#B370FF#B370FF

#B370FF is a light, highly saturated violet. Relative luminance 0.284; OKLCH L 68.0% C 0.207 H 302.9°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#B370FF
RGBrgb(179, 112, 255)
HSLhsl(268, 100%, 72%)
HSVhsv(268, 56%, 100%)
CMYKcmyk(29.8%, 56.1%, 0%, 0%)
CIE-LABlab(60.24, 53.51, -61.54)
CIE-LCHlch(60.24, 81.55, 311.01°)
OKLaboklab(67.99% 0.1125 -0.1739)
OKLCHoklch(67.99% 0.207 302.9)
XYZxyz(42.4305, 28.3921, 97.8332)
Luminance0.2839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370FF #BCFF70
analogous
#7075FF #B370FF #FB70FF
triadic
#B370FF #FFB370 #70FFB3
tetradic
#B370FF #FF7075 #BCFF70 #70FFFB
square
#B370FF #FF7075 #BCFF70 #70FFFB
split-complementary
#B370FF #FFFB70 #75FF70
monochromatic
#7300F5 #9233FF #B370FF #D4ADFF #EFE0FF

Accessibility & contrast

On white

3.14
#B370FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.68
#B370FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370FF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370FF#FFFFFF#000000##000000
##B370FF1.003.146.686.68
#FFFFFF3.141.0021.0021.00
#0000006.6821.001.001.00
##0000006.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b370ff;
/* rgb */ color: rgb(179, 112, 255);
/* oklch */ color: oklch(68.0% 0.207 302.9);
Tailwind
colors: {
  custom: {
    50: '#ce9bff',
    500: '#b370ff',
    950: '#000000',
  },
}
SCSS
$custom: #b370ff;
$custom-light: #ce9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b370ff",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 255
  },
  "hsl": {
    "h": 268.112,
    "s": 100,
    "l": 71.961
  },
  "oklch": {
    "l": 0.67989,
    "c": 0.20708,
    "h": 302.9
  },
  "luminance": 0.28392
}

Semantic roles & 50–950 ramp

primary
#B370FF
secondary
#E7F7D3
accent
#E6007A
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B370FF

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

Preview Lab → · Contrast checker → · Palette generator →

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