#B370EC#B370EC

#B370EC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.9% C 0.185 H 307.0°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#B370EC
RGBrgb(179, 112, 236)
HSLhsl(272, 77%, 68%)
HSVhsv(272, 53%, 93%)
CMYKcmyk(24.2%, 52.5%, 0%, 7.5%)
CIE-LABlab(59.19, 49.12, -52.71)
CIE-LCHlch(59.19, 72.05, 312.98°)
OKLaboklab(66.87% 0.1117 -0.148)
OKLCHoklch(66.87% 0.185 307)
XYZxyz(39.5218, 27.2286, 82.5142)
Luminance0.2723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370EC #A9EC70
analogous
#7570EC #B370EC #EC70E7
triadic
#B370EC #ECB370 #70ECB3
tetradic
#B370EC #EC7570 #A9EC70 #70E7EC
square
#B370EC #EC7570 #A9EC70 #70E7EC
split-complementary
#B370EC #E7EC70 #70EC75
monochromatic
#781AC7 #963AE5 #B370EC #D0A6F3 #ECDCFA

Accessibility & contrast

On white

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

On black

6.45
#B370EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370EC
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370EC#FFFFFF#000000##000000
##B370EC1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498CF0
Deuteranopia (green-blind)
#5F8FE9
Tritanopia (blue-blind)
#AA86A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b370ec;
/* rgb */ color: rgb(179, 112, 236);
/* oklch */ color: oklch(66.9% 0.185 307.0);
Tailwind
colors: {
  custom: {
    50: '#cd9bf3',
    500: '#b370ec',
    950: '#000000',
  },
}
SCSS
$custom: #b370ec;
$custom-light: #cd9bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#b370ec",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 236
  },
  "hsl": {
    "h": 272.419,
    "s": 76.543,
    "l": 68.235
  },
  "oklch": {
    "l": 0.66871,
    "c": 0.18544,
    "h": 307
  },
  "luminance": 0.27228
}

Semantic roles & 50–950 ramp

primary
#B370EC
secondary
#DAEFC9
accent
#D90D6B
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370EC

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

Preview Lab → · Contrast checker → · Palette generator →

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