#B574F0#B574F0

#B574F0 is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.9% C 0.184 H 306.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#B574F0
RGBrgb(181, 116, 240)
HSLhsl(271, 81%, 70%)
HSVhsv(271, 52%, 94%)
CMYKcmyk(24.6%, 51.7%, 0%, 5.9%)
CIE-LABlab(60.43, 48.42, -52.94)
CIE-LCHlch(60.43, 71.74, 312.45°)
OKLaboklab(67.91% 0.1092 -0.1486)
OKLCHoklch(67.91% 0.184 306.3)
XYZxyz(41.0264, 28.6062, 85.7814)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B574F0 #AFF074
analogous
#7774F0 #B574F0 #F074ED
triadic
#B574F0 #F0B574 #74F0B5
tetradic
#B574F0 #F07774 #AFF074 #74EDF0
square
#B574F0 #F07774 #AFF074 #74EDF0
split-complementary
#B574F0 #EDF074 #74F077
monochromatic
#7917D3 #983DEA #B574F0 #D2ABF6 #F0E2FC

Accessibility & contrast

On white

3.12
#B574F0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#B574F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B574F0
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B574F0#FFFFFF#000000##000000
##B574F01.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8FF4
Deuteranopia (green-blind)
#6292ED
Tritanopia (blue-blind)
#AC8AA7
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #b574f0;
/* rgb */ color: rgb(181, 116, 240);
/* oklch */ color: oklch(67.9% 0.184 306.3);
Tailwind
colors: {
  custom: {
    50: '#ce9ef5',
    500: '#b574f0',
    950: '#000000',
  },
}
SCSS
$custom: #b574f0;
$custom-light: #ce9ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#b574f0",
  "rgb": {
    "r": 181,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 271.452,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.67911,
    "c": 0.18446,
    "h": 306.3
  },
  "luminance": 0.28606
}

Semantic roles & 50–950 ramp

primary
#B574F0
secondary
#DFF1CE
accent
#DD096E
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140E17
muted
#827E85

Preview Lab

Preview with #B574F0

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

Preview Lab → · Contrast checker → · Palette generator →

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