#B370E7#B370E7

#B370E7 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.180 H 308.3°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#B370E7
RGBrgb(179, 112, 231)
HSLhsl(274, 71%, 67%)
HSVhsv(274, 52%, 91%)
CMYKcmyk(22.5%, 51.5%, 0%, 9.4%)
CIE-LABlab(58.92, 47.99, -50.35)
CIE-LCHlch(58.92, 69.56, 313.63°)
OKLaboklab(66.59% 0.1113 -0.1411)
OKLCHoklch(66.59% 0.18 308.3)
XYZxyz(38.8055, 26.9421, 78.7419)
Luminance0.2694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370E7 #A4E770
analogous
#7870E7 #B370E7 #E770DF
triadic
#B370E7 #E7B370 #70E7B3
tetradic
#B370E7 #E77870 #A4E770 #70DFE7
square
#B370E7 #E77870 #A4E770 #70DFE7
split-complementary
#B370E7 #DFE770 #70E778
monochromatic
#7820BD #973CDE #B370E7 #CFA4F0 #EBD9F9

Accessibility & contrast

On white

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

On black

6.39
#B370E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370E7
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370E7#FFFFFF#000000##000000
##B370E71.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8BEB
Deuteranopia (green-blind)
#628FE4
Tritanopia (blue-blind)
#AC85A1
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b370e7;
/* rgb */ color: rgb(179, 112, 231);
/* oklch */ color: oklch(66.6% 0.180 308.3);
Tailwind
colors: {
  custom: {
    50: '#cc9bef',
    500: '#b370e7',
    950: '#000000',
  },
}
SCSS
$custom: #b370e7;
$custom-light: #cc9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#b370e7",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 231
  },
  "hsl": {
    "h": 273.782,
    "s": 71.257,
    "l": 67.255
  },
  "oklch": {
    "l": 0.6659,
    "c": 0.17975,
    "h": 308.3
  },
  "luminance": 0.26942
}

Semantic roles & 50–950 ramp

primary
#B370E7
secondary
#D7ECC7
accent
#D31267
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E16
muted
#827E84

Preview Lab

Preview with #B370E7

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

Preview Lab → · Contrast checker → · Palette generator →

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