#B573F2#B573F2

#B573F2 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.9% C 0.188 H 306.0°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#B573F2
RGBrgb(181, 115, 242)
HSLhsl(271, 83%, 70%)
HSVhsv(271, 52%, 95%)
CMYKcmyk(25.2%, 52.5%, 0%, 5.1%)
CIE-LABlab(60.33, 49.41, -54.20)
CIE-LCHlch(60.33, 73.34, 312.35°)
OKLaboklab(67.87% 0.1107 -0.1523)
OKLCHoklch(67.87% 0.188 306)
XYZxyz(41.2104, 28.4964, 87.3165)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B573F2 #B0F273
analogous
#7573F2 #B573F2 #F273F0
triadic
#B573F2 #F2B573 #73F2B5
tetradic
#B573F2 #F27573 #B0F273 #73F0F2
square
#B573F2 #F27573 #B0F273 #73F0F2
split-complementary
#B573F2 #F0F273 #73F275
monochromatic
#7914D7 #973BED #B573F2 #D3ABF7 #F0E3FC

Accessibility & contrast

On white

3.13
#B573F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#B573F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B573F2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B573F2#FFFFFF#000000##000000
##B573F21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8FF6
Deuteranopia (green-blind)
#5F92EF
Tritanopia (blue-blind)
#AB8AA8
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #b573f2;
/* rgb */ color: rgb(181, 115, 242);
/* oklch */ color: oklch(67.9% 0.188 306.0);
Tailwind
colors: {
  custom: {
    50: '#ce9df7',
    500: '#b573f2',
    950: '#000000',
  },
}
SCSS
$custom: #b573f2;
$custom-light: #ce9df7;
$custom-dark: #000000;
JSON
{
  "hex": "#b573f2",
  "rgb": {
    "r": 181,
    "g": 115,
    "b": 242
  },
  "hsl": {
    "h": 271.181,
    "s": 83.007,
    "l": 70
  },
  "oklch": {
    "l": 0.67873,
    "c": 0.18829,
    "h": 306
  },
  "luminance": 0.28496
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B573F2

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

Preview Lab → · Contrast checker → · Palette generator →

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