#B373F2#B373F2

#B373F2 is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.7% C 0.188 H 305.2°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#B373F2
RGBrgb(179, 115, 242)
HSLhsl(270, 83%, 70%)
HSVhsv(270, 52%, 95%)
CMYKcmyk(26%, 52.5%, 0%, 5.1%)
CIE-LABlab(60.12, 48.90, -54.56)
CIE-LCHlch(60.12, 73.27, 311.87°)
OKLaboklab(67.66% 0.1082 -0.1534)
OKLCHoklch(67.66% 0.188 305.2)
XYZxyz(40.7447, 28.2562, 87.2947)
Luminance0.2826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B373F2 #B2F273
analogous
#7373F2 #B373F2 #F273F2
triadic
#B373F2 #F2B373 #73F2B3
tetradic
#B373F2 #F27373 #B2F273 #73F2F2
square
#B373F2 #F27373 #B2F273 #73F2F2
split-complementary
#B373F2 #F2F273 #73F273
monochromatic
#7614D7 #953BED #B373F2 #D1ABF7 #F0E3FC

Accessibility & contrast

On white

3.16
#B373F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#B373F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B373F2
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B373F2#FFFFFF#000000##000000
##B373F21.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#498FF6
Deuteranopia (green-blind)
#5E91EF
Tritanopia (blue-blind)
#A88AA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b373f2;
/* rgb */ color: rgb(179, 115, 242);
/* oklch */ color: oklch(67.7% 0.188 305.2);
Tailwind
colors: {
  custom: {
    50: '#cd9df7',
    500: '#b373f2',
    950: '#000000',
  },
}
SCSS
$custom: #b373f2;
$custom-light: #cd9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#b373f2",
  "rgb": {
    "r": 179,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 270.236,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.67665,
    "c": 0.18776,
    "h": 305.2
  },
  "luminance": 0.28256
}

Semantic roles & 50–950 ramp

primary
#B373F2
secondary
#E0F2CF
accent
#DF0672
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140E17
muted
#827E85

Preview Lab

Preview with #B373F2

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

Preview Lab → · Contrast checker → · Palette generator →

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