#BF98E4#BF98E4

#BF98E4 is a light, moderate violet. Relative luminance 0.391; OKLCH L 74.3% C 0.114 H 307.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#BF98E4
RGBrgb(191, 152, 228)
HSLhsl(271, 58%, 75%)
HSVhsv(271, 33%, 89%)
CMYKcmyk(16.2%, 33.3%, 0%, 10.6%)
CIE-LABlab(68.85, 28.86, -33.03)
CIE-LCHlch(68.85, 43.86, 311.15°)
OKLaboklab(74.29% 0.0694 -0.091)
OKLCHoklch(74.29% 0.114 307.3)
XYZxyz(46.7150, 39.1346, 78.4765)
Luminance0.3913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98E4 #BDE498
analogous
#9998E4 #BF98E4 #E498E3
triadic
#BF98E4 #E4BF98 #98E4BF
tetradic
#BF98E4 #E49998 #BDE498 #98E3E4
square
#BF98E4 #E49998 #BDE498 #98E3E4
split-complementary
#BF98E4 #E3E498 #98E499
monochromatic
#8337CB #A168D7 #BF98E4 #DDC8F1 #F0E7F9

Accessibility & contrast

On white

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

On black

8.83
#BF98E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98E4
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98E4#FFFFFF#000000##000000
##BF98E41.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bf98e4;
/* rgb */ color: rgb(191, 152, 228);
/* oklch */ color: oklch(74.3% 0.114 307.3);
Tailwind
colors: {
  custom: {
    50: '#d3b6ec',
    500: '#bf98e4',
    950: '#000000',
  },
}
SCSS
$custom: #bf98e4;
$custom-light: #d3b6ec;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98e4",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 228
  },
  "hsl": {
    "h": 270.789,
    "s": 58.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74287,
    "c": 0.11441,
    "h": 307.3
  },
  "luminance": 0.39134
}

Semantic roles & 50–950 ramp

primary
#BF98E4
secondary
#E5F0DB
accent
#C61F71
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141116
muted
#838084

Preview Lab

Preview with #BF98E4

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

Preview Lab → · Contrast checker → · Palette generator →

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