#B575F5#B575F5

#B575F5 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.3% C 0.189 H 305.0°. Best body text is #000000 at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#B575F5
RGBrgb(181, 117, 245)
HSLhsl(270, 86%, 71%)
HSVhsv(270, 52%, 96%)
CMYKcmyk(26.1%, 52.2%, 0%, 3.9%)
CIE-LABlab(60.90, 49.04, -54.95)
CIE-LCHlch(60.90, 73.65, 311.74°)
OKLaboklab(68.35% 0.1083 -0.1545)
OKLCHoklch(68.35% 0.189 305)
XYZxyz(41.8952, 29.1391, 89.7858)
Luminance0.2914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B575F5 #B5F575
analogous
#7575F5 #B575F5 #F575F5
triadic
#B575F5 #F5B575 #75F5B5
tetradic
#B575F5 #F57575 #B5F575 #75F5F5
square
#B575F5 #F57575 #B5F575 #75F5F5
split-complementary
#B575F5 #F5F575 #75F575
monochromatic
#7810DF #963CF1 #B575F5 #D4AEF9 #F0E2FD

Accessibility & contrast

On white

3.08
#B575F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.83
#B575F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B575F5
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B575F5#FFFFFF#000000##000000
##B575F51.003.086.836.83
#FFFFFF3.081.0021.0021.00
#0000006.8321.001.001.00
##0000006.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#5F93F2
Tritanopia (blue-blind)
#AA8CAA
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #b575f5;
/* rgb */ color: rgb(181, 117, 245);
/* oklch */ color: oklch(68.3% 0.189 305.0);
Tailwind
colors: {
  custom: {
    50: '#ce9ff9',
    500: '#b575f5',
    950: '#000000',
  },
}
SCSS
$custom: #b575f5;
$custom-light: #ce9ff9;
$custom-dark: #000000;
JSON
{
  "hex": "#b575f5",
  "rgb": {
    "r": 181,
    "g": 117,
    "b": 245
  },
  "hsl": {
    "h": 270,
    "s": 86.486,
    "l": 70.98
  },
  "oklch": {
    "l": 0.68346,
    "c": 0.18871,
    "h": 305
  },
  "luminance": 0.29139
}

Semantic roles & 50–950 ramp

primary
#B575F5
secondary
#E3F4D2
accent
#E30273
background
#FDF9FF
surface
#FAF2FF
border
#D3CCD7
text
#140F17
muted
#837E85

Preview Lab

Preview with #B575F5

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

Preview Lab → · Contrast checker → · Palette generator →

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