#B370E6#B370E6

#B370E6 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.179 H 308.5°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#B370E6
RGBrgb(179, 112, 230)
HSLhsl(274, 70%, 67%)
HSVhsv(274, 51%, 90%)
CMYKcmyk(22.2%, 51.3%, 0%, 9.8%)
CIE-LABlab(58.87, 47.77, -49.87)
CIE-LCHlch(58.87, 69.06, 313.77°)
OKLaboklab(66.53% 0.1113 -0.1397)
OKLCHoklch(66.53% 0.179 308.5)
XYZxyz(38.6647, 26.8858, 78.0002)
Luminance0.2688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370E6 #A3E670
analogous
#7870E6 #B370E6 #E670DE
triadic
#B370E6 #E6B370 #70E6B3
tetradic
#B370E6 #E67870 #A3E670 #70DEE6
square
#B370E6 #E67870 #A3E670 #70DEE6
split-complementary
#B370E6 #DEE670 #70E678
monochromatic
#7821BB #973CDD #B370E6 #CFA4EF #EAD8F8

Accessibility & contrast

On white

3.29
#B370E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#B370E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370E6
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370E6#FFFFFF#000000##000000
##B370E61.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEA
Deuteranopia (green-blind)
#638FE3
Tritanopia (blue-blind)
#AC84A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b370e6;
/* rgb */ color: rgb(179, 112, 230);
/* oklch */ color: oklch(66.5% 0.179 308.5);
Tailwind
colors: {
  custom: {
    50: '#cc9bee',
    500: '#b370e6',
    950: '#000000',
  },
}
SCSS
$custom: #b370e6;
$custom-light: #cc9bee;
$custom-dark: #000000;
JSON
{
  "hex": "#b370e6",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 230
  },
  "hsl": {
    "h": 274.068,
    "s": 70.238,
    "l": 67.059
  },
  "oklch": {
    "l": 0.66534,
    "c": 0.17861,
    "h": 308.5
  },
  "luminance": 0.26885
}

Semantic roles & 50–950 ramp

primary
#B370E6
secondary
#D6ECC6
accent
#D21366
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B370E6

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

Preview Lab → · Contrast checker → · Palette generator →

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