#B98FE3#B98FE3

#B98FE3 is a light, vivid violet. Relative luminance 0.355; OKLCH L 72.1% C 0.126 H 306.5°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B98FE3
RGBrgb(185, 143, 227)
HSLhsl(270, 60%, 73%)
HSVhsv(270, 37%, 89%)
CMYKcmyk(18.5%, 37%, 0%, 11%)
CIE-LABlab(66.14, 31.83, -36.73)
CIE-LCHlch(66.14, 48.60, 310.92°)
OKLaboklab(72.08% 0.0751 -0.1016)
OKLCHoklch(72.08% 0.126 306.5)
XYZxyz(43.6925, 35.5056, 77.2096)
Luminance0.3550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B98FE3 #B9E38F
analogous
#8F8FE3 #B98FE3 #E38FE3
triadic
#B98FE3 #E3B98F #8FE3B9
tetradic
#B98FE3 #E38F8F #B9E38F #8FE3E3
square
#B98FE3 #E38F8F #B9E38F #8FE3E3
split-complementary
#B98FE3 #E3E38F #8FE38F
monochromatic
#7C32C6 #9A5ED7 #B98FE3 #D8C0EF #F0E7F9

Accessibility & contrast

On white

2.59
#B98FE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B98FE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B98FE3
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B98FE3#FFFFFF#000000##000000
##B98FE31.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE6
Deuteranopia (green-blind)
#86A1E1
Tritanopia (blue-blind)
#B39CAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b98fe3;
/* rgb */ color: rgb(185, 143, 227);
/* oklch */ color: oklch(72.1% 0.126 306.5);
Tailwind
colors: {
  custom: {
    50: '#cfb0ec',
    500: '#b98fe3',
    950: '#000000',
  },
}
SCSS
$custom: #b98fe3;
$custom-light: #cfb0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b98fe3",
  "rgb": {
    "r": 185,
    "g": 143,
    "b": 227
  },
  "hsl": {
    "h": 270,
    "s": 60,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72081,
    "c": 0.12637,
    "h": 306.5
  },
  "luminance": 0.35505
}

Semantic roles & 50–950 ramp

primary
#B98FE3
secondary
#E6F0DB
accent
#C81E73
background
#FCFAFE
surface
#F9F5FD
border
#D2CFD5
text
#141016
muted
#827F84

Preview Lab

Preview with #B98FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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