#B98FF7#B98FF7

#B98FF7 is a light, vivid violet. Relative luminance 0.367; OKLCH L 73.0% C 0.152 H 301.4°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#B98FF7
RGBrgb(185, 143, 247)
HSLhsl(264, 87%, 76%)
HSVhsv(264, 42%, 97%)
CMYKcmyk(25.1%, 42.1%, 0%, 3.1%)
CIE-LABlab(67.03, 36.41, -46.33)
CIE-LCHlch(67.03, 58.92, 308.16°)
OKLaboklab(73.05% 0.0789 -0.1294)
OKLCHoklch(73.05% 0.152 301.4)
XYZxyz(46.6148, 36.6745, 92.6007)
Luminance0.3668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FF7 #CDF78F
analogous
#8F99F7 #B98FF7 #ED8FF7
triadic
#B98FF7 #F7B98F #8FF7B9
tetradic
#B98FF7 #F78F99 #CDF78F #8FF7ED
square
#B98FF7 #F78F99 #CDF78F #8FF7ED
split-complementary
#B98FF7 #F7ED8F #99F78F
monochromatic
#721DEF #9556F3 #B98FF7 #DDC8FB #EDE2FD

Accessibility & contrast

On white

2.52
#B98FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#B98FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FF7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FF7#FFFFFF#000000##000000
##B98FF71.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FB
Deuteranopia (green-blind)
#7CA3F4
Tritanopia (blue-blind)
#AEA1B7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b98ff7;
/* rgb */ color: rgb(185, 143, 247);
/* oklch */ color: oklch(73.0% 0.152 301.4);
Tailwind
colors: {
  custom: {
    50: '#d0b0fa',
    500: '#b98ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b98ff7;
$custom-light: #d0b0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b98ff7",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 264.231,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.73047,
    "c": 0.15153,
    "h": 301.4
  },
  "luminance": 0.36675
}

Semantic roles & 50–950 ramp

primary
#B98FF7
secondary
#E8F5D6
accent
#E30288
background
#FCFAFF
surface
#F9F5FF
border
#D2CFD7
text
#141017
muted
#827F85

Preview Lab

Preview with #B98FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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