#B370FC#B370FC

#B370FC is a light, highly saturated violet. Relative luminance 0.282; OKLCH L 67.8% C 0.204 H 303.5°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#B370FC
RGBrgb(179, 112, 252)
HSLhsl(269, 96%, 71%)
HSVhsv(269, 56%, 99%)
CMYKcmyk(29%, 55.6%, 0%, 1.2%)
CIE-LABlab(60.07, 52.81, -60.16)
CIE-LCHlch(60.07, 80.05, 311.27°)
OKLaboklab(67.81% 0.1124 -0.1698)
OKLCHoklch(67.81% 0.204 303.5)
XYZxyz(41.9513, 28.2004, 95.3097)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370FC #B9FC70
analogous
#7073FC #B370FC #F970FC
triadic
#B370FC #FCB370 #70FCB3
tetradic
#B370FC #FC7073 #B9FC70 #70FCF9
square
#B370FC #FC7073 #B9FC70 #70FCF9
split-complementary
#B370FC #FCF970 #73FC70
monochromatic
#7405ED #9334FB #B370FC #D3ACFD #EFE1FE

Accessibility & contrast

On white

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

On black

6.64
#B370FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370FC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370FC#FFFFFF#000000##000000
##B370FC1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#5191F9
Tritanopia (blue-blind)
#A68BAC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b370fc;
/* rgb */ color: rgb(179, 112, 252);
/* oklch */ color: oklch(67.8% 0.204 303.5);
Tailwind
colors: {
  custom: {
    50: '#cd9bfe',
    500: '#b370fc',
    950: '#000000',
  },
}
SCSS
$custom: #b370fc;
$custom-light: #cd9bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#b370fc",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 252
  },
  "hsl": {
    "h": 268.714,
    "s": 95.89,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67808,
    "c": 0.20367,
    "h": 303.5
  },
  "luminance": 0.282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B370FC

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

Preview Lab → · Contrast checker → · Palette generator →

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