#B370FD#B370FD

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

Color values

HEX#B370FD
RGBrgb(179, 112, 253)
HSLhsl(269, 97%, 72%)
HSVhsv(269, 56%, 99%)
CMYKcmyk(29.2%, 55.7%, 0%, 0.8%)
CIE-LABlab(60.13, 53.04, -60.62)
CIE-LCHlch(60.13, 80.55, 311.18°)
OKLaboklab(67.87% 0.1125 -0.1712)
OKLCHoklch(67.87% 0.205 303.3)
XYZxyz(42.1102, 28.2640, 96.1465)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370FD #BAFD70
analogous
#7074FD #B370FD #FA70FD
triadic
#B370FD #FDB370 #70FDB3
tetradic
#B370FD #FD7074 #BAFD70 #70FDFA
square
#B370FD #FD7074 #BAFD70 #70FDFA
split-complementary
#B370FD #FDFA70 #74FD70
monochromatic
#7303EF #9334FC #B370FD #D3ACFE #EFE1FF

Accessibility & contrast

On white

3.16
#B370FD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B370FD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370FD
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370FD#FFFFFF#000000##000000
##B370FD1.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#378FFF
Deuteranopia (green-blind)
#5091FA
Tritanopia (blue-blind)
#A58CAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b370fd;
/* rgb */ color: rgb(179, 112, 253);
/* oklch */ color: oklch(67.9% 0.205 303.3);
Tailwind
colors: {
  custom: {
    50: '#cd9bff',
    500: '#b370fd',
    950: '#000000',
  },
}
SCSS
$custom: #b370fd;
$custom-light: #cd9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#b370fd",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 253
  },
  "hsl": {
    "h": 268.511,
    "s": 97.241,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67868,
    "c": 0.20481,
    "h": 303.3
  },
  "luminance": 0.28264
}

Semantic roles & 50–950 ramp

primary
#B370FD
secondary
#E5F7D2
accent
#E60078
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140E18
muted
#837E86

Preview Lab

Preview with #B370FD

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

Preview Lab → · Contrast checker → · Palette generator →

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