#B370EF#B370EF

#B370EF is a light, vivid violet. Relative luminance 0.274; OKLCH L 67.0% C 0.189 H 306.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#B370EF
RGBrgb(179, 112, 239)
HSLhsl(272, 80%, 69%)
HSVhsv(272, 53%, 94%)
CMYKcmyk(25.1%, 53.1%, 0%, 6.3%)
CIE-LABlab(59.35, 49.80, -54.12)
CIE-LCHlch(59.35, 73.55, 312.62°)
OKLaboklab(67.04% 0.1119 -0.1521)
OKLCHoklch(67.04% 0.189 306.3)
XYZxyz(39.9613, 27.4044, 84.8290)
Luminance0.2740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370EF #ACEF70
analogous
#7470EF #B370EF #EF70EB
triadic
#B370EF #EFB370 #70EFB3
tetradic
#B370EF #EF7470 #ACEF70 #70EBEF
square
#B370EF #EF7470 #ACEF70 #70EBEF
split-complementary
#B370EF #EBEF70 #70EF74
monochromatic
#7717CE #9639E9 #B370EF #D0A7F5 #EEDEFB

Accessibility & contrast

On white

3.24
#B370EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#B370EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370EF
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370EF#FFFFFF#000000##000000
##B370EF1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#478DF3
Deuteranopia (green-blind)
#5D8FEC
Tritanopia (blue-blind)
#A987A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b370ef;
/* rgb */ color: rgb(179, 112, 239);
/* oklch */ color: oklch(67.0% 0.189 306.3);
Tailwind
colors: {
  custom: {
    50: '#cd9bf5',
    500: '#b370ef',
    950: '#000000',
  },
}
SCSS
$custom: #b370ef;
$custom-light: #cd9bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#b370ef",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 239
  },
  "hsl": {
    "h": 271.654,
    "s": 79.874,
    "l": 68.824
  },
  "oklch": {
    "l": 0.67042,
    "c": 0.18887,
    "h": 306.3
  },
  "luminance": 0.27404
}

Semantic roles & 50–950 ramp

primary
#B370EF
secondary
#DCF0CB
accent
#DC096D
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370EF

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

Preview Lab → · Contrast checker → · Palette generator →

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