#BF98E5#BF98E5

#BF98E5 is a light, moderate violet. Relative luminance 0.392; OKLCH L 74.3% C 0.116 H 307.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#BF98E5
RGBrgb(191, 152, 229)
HSLhsl(270, 60%, 75%)
HSVhsv(270, 34%, 90%)
CMYKcmyk(16.6%, 33.6%, 0%, 10.2%)
CIE-LABlab(68.89, 29.08, -33.51)
CIE-LCHlch(68.89, 44.37, 310.95°)
OKLaboklab(74.33% 0.0696 -0.0924)
OKLCHoklch(74.33% 0.116 307)
XYZxyz(46.8542, 39.1903, 79.2097)
Luminance0.3919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98E5 #BEE598
analogous
#9998E5 #BF98E5 #E598E4
triadic
#BF98E5 #E5BF98 #98E5BF
tetradic
#BF98E5 #E59998 #BEE598 #98E4E5
square
#BF98E5 #E59998 #BEE598 #98E4E5
split-complementary
#BF98E5 #E4E598 #98E599
monochromatic
#8236CC #A167D9 #BF98E5 #DDC9F1 #F0E7F9

Accessibility & contrast

On white

2.38
#BF98E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#BF98E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98E5
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98E5#FFFFFF#000000##000000
##BF98E51.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A7E8
Deuteranopia (green-blind)
#91A9E3
Tritanopia (blue-blind)
#BAA3B4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bf98e5;
/* rgb */ color: rgb(191, 152, 229);
/* oklch */ color: oklch(74.3% 0.116 307.0);
Tailwind
colors: {
  custom: {
    50: '#d3b6ed',
    500: '#bf98e5',
    950: '#000000',
  },
}
SCSS
$custom: #bf98e5;
$custom-light: #d3b6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98e5",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 229
  },
  "hsl": {
    "h": 270.39,
    "s": 59.69,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7433,
    "c": 0.11566,
    "h": 307
  },
  "luminance": 0.3919
}

Semantic roles & 50–950 ramp

primary
#BF98E5
secondary
#E5F0DB
accent
#C71E72
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #BF98E5

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

Preview Lab → · Contrast checker → · Palette generator →

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