#B370EB#B370EB

#B370EB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.184 H 307.3°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#B370EB
RGBrgb(179, 112, 235)
HSLhsl(273, 75%, 68%)
HSVhsv(273, 52%, 92%)
CMYKcmyk(23.8%, 52.3%, 0%, 7.8%)
CIE-LABlab(59.13, 48.89, -52.24)
CIE-LCHlch(59.13, 71.55, 313.11°)
OKLaboklab(66.81% 0.1116 -0.1466)
OKLCHoklch(66.81% 0.184 307.3)
XYZxyz(39.3769, 27.1706, 81.7512)
Luminance0.2717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370EB #A8EB70
analogous
#7570EB #B370EB #EB70E5
triadic
#B370EB #EBB370 #70EBB3
tetradic
#B370EB #EB7570 #A8EB70 #70E5EB
square
#B370EB #EB7570 #A8EB70 #70E5EB
split-complementary
#B370EB #E5EB70 #70EB75
monochromatic
#781CC5 #963AE3 #B370EB #D0A6F3 #ECDBFA

Accessibility & contrast

On white

3.26
#B370EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#B370EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370EB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370EB#FFFFFF#000000##000000
##B370EB1.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8CEF
Deuteranopia (green-blind)
#5F8FE8
Tritanopia (blue-blind)
#AB86A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b370eb;
/* rgb */ color: rgb(179, 112, 235);
/* oklch */ color: oklch(66.8% 0.184 307.3);
Tailwind
colors: {
  custom: {
    50: '#cc9bf2',
    500: '#b370eb',
    950: '#000000',
  },
}
SCSS
$custom: #b370eb;
$custom-light: #cc9bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#b370eb",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 235
  },
  "hsl": {
    "h": 272.683,
    "s": 75.46,
    "l": 68.039
  },
  "oklch": {
    "l": 0.66814,
    "c": 0.18431,
    "h": 307.3
  },
  "luminance": 0.2717
}

Semantic roles & 50–950 ramp

primary
#B370EB
secondary
#DAEEC9
accent
#D80E6A
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370EB

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

Preview Lab → · Contrast checker → · Palette generator →

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