#B580F7#B580F7

#B580F7 is a light, vivid violet. Relative luminance 0.320; OKLCH L 70.2% C 0.174 H 302.7°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B580F7
RGBrgb(181, 128, 247)
HSLhsl(267, 88%, 74%)
HSVhsv(267, 48%, 97%)
CMYKcmyk(26.7%, 48.2%, 0%, 3.1%)
CIE-LABlab(63.32, 43.58, -52.21)
CIE-LCHlch(63.32, 68.01, 309.85°)
OKLaboklab(70.18% 0.0942 -0.1466)
OKLCHoklch(70.18% 0.174 302.7)
XYZxyz(43.5600, 31.9775, 91.8551)
Luminance0.3198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B580F7 #C2F780
analogous
#8086F7 #B580F7 #F180F7
triadic
#B580F7 #F7B580 #80F7B5
tetradic
#B580F7 #F78086 #C2F780 #80F7F1
square
#B580F7 #F78086 #C2F780 #80F7F1
split-complementary
#B580F7 #F7F180 #86F780
monochromatic
#720FEE #9346F3 #B580F7 #D7BAFB #EEE2FD

Accessibility & contrast

On white

2.84
#B580F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B580F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B580F7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B580F7#FFFFFF#000000##000000
##B580F71.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C98FB
Deuteranopia (green-blind)
#6A99F4
Tritanopia (blue-blind)
#A995B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b580f7;
/* rgb */ color: rgb(181, 128, 247);
/* oklch */ color: oklch(70.2% 0.174 302.7);
Tailwind
colors: {
  custom: {
    50: '#cea6fa',
    500: '#b580f7',
    950: '#000000',
  },
}
SCSS
$custom: #b580f7;
$custom-light: #cea6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b580f7",
  "rgb": {
    "r": 181,
    "g": 128,
    "b": 247
  },
  "hsl": {
    "h": 266.723,
    "s": 88.148,
    "l": 73.529
  },
  "oklch": {
    "l": 0.70177,
    "c": 0.17422,
    "h": 302.7
  },
  "luminance": 0.31978
}

Semantic roles & 50–950 ramp

primary
#B580F7
secondary
#E7F5D6
accent
#E5017F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B580F7

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

Preview Lab → · Contrast checker → · Palette generator →

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