#BF98ED#BF98ED

#BF98ED is a light, vivid violet. Relative luminance 0.396; OKLCH L 74.7% C 0.126 H 304.6°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#BF98ED
RGBrgb(191, 152, 237)
HSLhsl(268, 70%, 76%)
HSVhsv(268, 36%, 93%)
CMYKcmyk(19.4%, 35.9%, 0%, 7.1%)
CIE-LABlab(69.22, 30.85, -37.39)
CIE-LCHlch(69.22, 48.47, 309.52°)
OKLaboklab(74.69% 0.0714 -0.1035)
OKLCHoklch(74.69% 0.126 304.6)
XYZxyz(47.9971, 39.6474, 85.2285)
Luminance0.3965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BF98ED #C6ED98
analogous
#989CED #BF98ED #E998ED
triadic
#BF98ED #EDBF98 #98EDBF
tetradic
#BF98ED #ED989C #C6ED98 #98EDE9
square
#BF98ED #ED989C #C6ED98 #98EDE9
split-complementary
#BF98ED #EDE998 #9CED98
monochromatic
#7E30DB #9F64E4 #BF98ED #DFCCF6 #EFE5FA

Accessibility & contrast

On white

2.35
#BF98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#BF98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BF98ED
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BF98ED#FFFFFF#000000##000000
##BF98ED1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F0
Deuteranopia (green-blind)
#8EA9EB
Tritanopia (blue-blind)
#B8A5B8
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bf98ed;
/* rgb */ color: rgb(191, 152, 237);
/* oklch */ color: oklch(74.7% 0.126 304.6);
Tailwind
colors: {
  custom: {
    50: '#d3b6f3',
    500: '#bf98ed',
    950: '#000000',
  },
}
SCSS
$custom: #bf98ed;
$custom-light: #d3b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bf98ed",
  "rgb": {
    "r": 191,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 267.529,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74689,
    "c": 0.12575,
    "h": 304.6
  },
  "luminance": 0.39647
}

Semantic roles & 50–950 ramp

primary
#BF98ED
secondary
#E7F2D9
accent
#D2137B
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BF98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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