#B575F2#B575F2

#B575F2 is a light, vivid violet. Relative luminance 0.290; OKLCH L 68.2% C 0.185 H 305.7°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#B575F2
RGBrgb(181, 117, 242)
HSLhsl(271, 83%, 70%)
HSVhsv(271, 52%, 95%)
CMYKcmyk(25.2%, 51.7%, 0%, 5.1%)
CIE-LABlab(60.74, 48.35, -53.55)
CIE-LCHlch(60.74, 72.15, 312.08°)
OKLaboklab(68.18% 0.1081 -0.1504)
OKLCHoklch(68.18% 0.185 305.7)
XYZxyz(41.4410, 28.9574, 87.3934)
Luminance0.2896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B575F2 #B2F275
analogous
#7675F2 #B575F2 #F275F0
triadic
#B575F2 #F2B575 #75F2B5
tetradic
#B575F2 #F27675 #B2F275 #75F0F2
square
#B575F2 #F27675 #B2F275 #75F0F2
split-complementary
#B575F2 #F0F275 #75F276
monochromatic
#7914D8 #973DED #B575F2 #D3ADF7 #F0E3FC

Accessibility & contrast

On white

3.09
#B575F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#B575F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B575F2
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B575F2#FFFFFF#000000##000000
##B575F21.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#6193EF
Tritanopia (blue-blind)
#AB8CA9
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b575f2;
/* rgb */ color: rgb(181, 117, 242);
/* oklch */ color: oklch(68.2% 0.185 305.7);
Tailwind
colors: {
  custom: {
    50: '#ce9ef7',
    500: '#b575f2',
    950: '#000000',
  },
}
SCSS
$custom: #b575f2;
$custom-light: #ce9ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#b575f2",
  "rgb": {
    "r": 181,
    "g": 117,
    "b": 242
  },
  "hsl": {
    "h": 270.72,
    "s": 82.781,
    "l": 70.392
  },
  "oklch": {
    "l": 0.68176,
    "c": 0.18524,
    "h": 305.7
  },
  "luminance": 0.28957
}

Semantic roles & 50–950 ramp

primary
#B575F2
secondary
#E1F3D0
accent
#DF0670
background
#FCF9FF
surface
#F9F2FF
border
#D2CCD7
text
#140F17
muted
#827E85

Preview Lab

Preview with #B575F2

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

Preview Lab → · Contrast checker → · Palette generator →

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