#B370EA#B370EA

#B370EA is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.8% C 0.183 H 307.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#B370EA
RGBrgb(179, 112, 234)
HSLhsl(273, 74%, 68%)
HSVhsv(273, 52%, 92%)
CMYKcmyk(23.5%, 52.1%, 0%, 8.2%)
CIE-LABlab(59.08, 48.67, -51.77)
CIE-LCHlch(59.08, 71.05, 313.23°)
OKLaboklab(66.76% 0.1116 -0.1453)
OKLCHoklch(66.76% 0.183 307.5)
XYZxyz(39.2329, 27.1130, 80.9925)
Luminance0.2711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370EA #A7EA70
analogous
#7670EA #B370EA #EA70E4
triadic
#B370EA #EAB370 #70EAB3
tetradic
#B370EA #EA7670 #A7EA70 #70E4EA
square
#B370EA #EA7670 #A7EA70 #70E4EA
split-complementary
#B370EA #E4EA70 #70EA76
monochromatic
#781DC3 #973BE2 #B370EA #CFA5F2 #ECDBFA

Accessibility & contrast

On white

3.27
#B370EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#B370EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370EA
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370EA#FFFFFF#000000##000000
##B370EA1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8CEE
Deuteranopia (green-blind)
#608FE7
Tritanopia (blue-blind)
#AB86A3
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #b370ea;
/* rgb */ color: rgb(179, 112, 234);
/* oklch */ color: oklch(66.8% 0.183 307.5);
Tailwind
colors: {
  custom: {
    50: '#cc9bf1',
    500: '#b370ea',
    950: '#000000',
  },
}
SCSS
$custom: #b370ea;
$custom-light: #cc9bf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b370ea",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 234
  },
  "hsl": {
    "h": 272.951,
    "s": 74.39,
    "l": 67.843
  },
  "oklch": {
    "l": 0.66758,
    "c": 0.18317,
    "h": 307.5
  },
  "luminance": 0.27113
}

Semantic roles & 50–950 ramp

primary
#B370EA
secondary
#D9EEC8
accent
#D70F69
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370EA

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

Preview Lab → · Contrast checker → · Palette generator →

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