#B370F7#B370F7

#B370F7 is a light, vivid violet. Relative luminance 0.279; OKLCH L 67.5% C 0.198 H 304.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#B370F7
RGBrgb(179, 112, 247)
HSLhsl(270, 89%, 70%)
HSVhsv(270, 55%, 97%)
CMYKcmyk(27.5%, 54.7%, 0%, 3.1%)
CIE-LABlab(59.79, 51.64, -57.85)
CIE-LCHlch(59.79, 77.55, 311.75°)
OKLaboklab(67.51% 0.1123 -0.1631)
OKLCHoklch(67.51% 0.198 304.5)
XYZxyz(41.1694, 27.8876, 91.1916)
Luminance0.2789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370F7 #B4F770
analogous
#7070F7 #B370F7 #F770F7
triadic
#B370F7 #F7B370 #70F7B3
tetradic
#B370F7 #F77070 #B4F770 #70F7F7
square
#B370F7 #F77070 #B4F770 #70F7F7
split-complementary
#B370F7 #F7F770 #70F770
monochromatic
#760DE0 #9436F4 #B370F7 #D2AAFA #F0E2FD

Accessibility & contrast

On white

3.19
#B370F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#B370F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370F7
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370F7#FFFFFF#000000##000000
##B370F71.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#5690F4
Tritanopia (blue-blind)
#A78AA9
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b370f7;
/* rgb */ color: rgb(179, 112, 247);
/* oklch */ color: oklch(67.5% 0.198 304.5);
Tailwind
colors: {
  custom: {
    50: '#cd9bfa',
    500: '#b370f7',
    950: '#000000',
  },
}
SCSS
$custom: #b370f7;
$custom-light: #cd9bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#b370f7",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 269.778,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.67509,
    "c": 0.19799,
    "h": 304.5
  },
  "luminance": 0.27887
}

Semantic roles & 50–950 ramp

primary
#B370F7
secondary
#E2F4CF
accent
#E60074
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370F7

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

Preview Lab → · Contrast checker → · Palette generator →

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