#B982F7#B982F7

#B982F7 is a light, vivid violet. Relative luminance 0.330; OKLCH L 70.9% C 0.172 H 304.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#B982F7
RGBrgb(185, 130, 247)
HSLhsl(268, 88%, 74%)
HSVhsv(268, 47%, 97%)
CMYKcmyk(25.1%, 47.4%, 0%, 3.1%)
CIE-LABlab(64.16, 43.54, -50.87)
CIE-LCHlch(64.16, 66.96, 310.56°)
OKLaboklab(70.89% 0.0963 -0.1425)
OKLCHoklch(70.89% 0.172 304.1)
XYZxyz(44.7751, 32.9951, 91.9875)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B982F7 #C0F782
analogous
#8286F7 #B982F7 #F382F7
triadic
#B982F7 #F7B982 #82F7B9
tetradic
#B982F7 #F78286 #C0F782 #82F7F3
square
#B982F7 #F78286 #C0F782 #82F7F3
split-complementary
#B982F7 #F7F382 #86F782
monochromatic
#790FEF #9948F3 #B982F7 #D9BCFB #EFE2FD

Accessibility & contrast

On white

2.76
#B982F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#B982F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B982F7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B982F7#FFFFFF#000000##000000
##B982F71.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#6F9BF4
Tritanopia (blue-blind)
#AE96B1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b982f7;
/* rgb */ color: rgb(185, 130, 247);
/* oklch */ color: oklch(70.9% 0.172 304.1);
Tailwind
colors: {
  custom: {
    50: '#d0a7fa',
    500: '#b982f7',
    950: '#000000',
  },
}
SCSS
$custom: #b982f7;
$custom-light: #d0a7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b982f7",
  "rgb": {
    "r": 185,
    "g": 130,
    "b": 247
  },
  "hsl": {
    "h": 268.205,
    "s": 87.97,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7089,
    "c": 0.17204,
    "h": 304.1
  },
  "luminance": 0.32995
}

Semantic roles & 50–950 ramp

primary
#B982F7
secondary
#E6F5D6
accent
#E5017A
background
#FDFAFF
surface
#FAF4FF
border
#D3CED7
text
#140F17
muted
#837F85

Preview Lab

Preview with #B982F7

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

Preview Lab → · Contrast checker → · Palette generator →

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