#B370EE#B370EE

#B370EE is a light, vivid violet. Relative luminance 0.273; OKLCH L 67.0% C 0.188 H 306.6°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#B370EE
RGBrgb(179, 112, 238)
HSLhsl(272, 79%, 69%)
HSVhsv(272, 53%, 93%)
CMYKcmyk(24.8%, 52.9%, 0%, 6.7%)
CIE-LABlab(59.29, 49.57, -53.65)
CIE-LCHlch(59.29, 73.05, 312.74°)
OKLaboklab(66.99% 0.1118 -0.1508)
OKLCHoklch(66.99% 0.188 306.6)
XYZxyz(39.8140, 27.3455, 84.0531)
Luminance0.2735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370EE #ABEE70
analogous
#7470EE #B370EE #EE70EA
triadic
#B370EE #EEB370 #70EEB3
tetradic
#B370EE #EE7470 #ABEE70 #70EAEE
square
#B370EE #EE7470 #ABEE70 #70EAEE
split-complementary
#B370EE #EAEE70 #70EE74
monochromatic
#7718CB #9639E7 #B370EE #D0A7F5 #EDDDFB

Accessibility & contrast

On white

3.25
#B370EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.47
#B370EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370EE
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370EE#FFFFFF#000000##000000
##B370EE1.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488CF2
Deuteranopia (green-blind)
#5D8FEB
Tritanopia (blue-blind)
#AA87A5
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #b370ee;
/* rgb */ color: rgb(179, 112, 238);
/* oklch */ color: oklch(67.0% 0.188 306.6);
Tailwind
colors: {
  custom: {
    50: '#cd9bf4',
    500: '#b370ee',
    950: '#000000',
  },
}
SCSS
$custom: #b370ee;
$custom-light: #cd9bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#b370ee",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 238
  },
  "hsl": {
    "h": 271.905,
    "s": 78.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66985,
    "c": 0.18773,
    "h": 306.6
  },
  "luminance": 0.27345
}

Semantic roles & 50–950 ramp

primary
#B370EE
secondary
#DCF0CA
accent
#DB0A6C
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370EE

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

Preview Lab → · Contrast checker → · Palette generator →

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