#B370F5#B370F5

#B370F5 is a light, vivid violet. Relative luminance 0.278; OKLCH L 67.4% C 0.196 H 305.0°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#B370F5
RGBrgb(179, 112, 245)
HSLhsl(270, 87%, 70%)
HSVhsv(270, 54%, 96%)
CMYKcmyk(26.9%, 54.3%, 0%, 3.9%)
CIE-LABlab(59.68, 51.18, -56.93)
CIE-LCHlch(59.68, 76.55, 311.96°)
OKLaboklab(67.39% 0.1122 -0.1603)
OKLCHoklch(67.39% 0.196 305)
XYZxyz(40.8625, 27.7648, 89.5749)
Luminance0.2777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B370F5 #B2F570
analogous
#7170F5 #B370F5 #F570F4
triadic
#B370F5 #F5B370 #70F5B3
tetradic
#B370F5 #F57170 #B2F570 #70F4F5
square
#B370F5 #F57170 #B2F570 #70F4F5
split-complementary
#B370F5 #F4F570 #70F571
monochromatic
#760FDB #9537F1 #B370F5 #D1A9F9 #F0E2FD

Accessibility & contrast

On white

3.20
#B370F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#B370F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B370F5
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B370F5#FFFFFF#000000##000000
##B370F51.003.206.556.55
#FFFFFF3.201.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#418EF9
Deuteranopia (green-blind)
#5890F2
Tritanopia (blue-blind)
#A889A8
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #b370f5;
/* rgb */ color: rgb(179, 112, 245);
/* oklch */ color: oklch(67.4% 0.196 305.0);
Tailwind
colors: {
  custom: {
    50: '#cd9bf9',
    500: '#b370f5',
    950: '#000000',
  },
}
SCSS
$custom: #b370f5;
$custom-light: #cd9bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#b370f5",
  "rgb": {
    "r": 179,
    "g": 112,
    "b": 245
  },
  "hsl": {
    "h": 270.226,
    "s": 86.928,
    "l": 70
  },
  "oklch": {
    "l": 0.67391,
    "c": 0.19571,
    "h": 305
  },
  "luminance": 0.27765
}

Semantic roles & 50–950 ramp

primary
#B370F5
secondary
#E0F3CE
accent
#E30272
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B370F5

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

Preview Lab → · Contrast checker → · Palette generator →

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