#BD98ED#BD98ED

#BD98ED is a light, vivid violet. Relative luminance 0.394; OKLCH L 74.5% C 0.125 H 303.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#BD98ED
RGBrgb(189, 152, 237)
HSLhsl(266, 70%, 76%)
HSVhsv(266, 36%, 93%)
CMYKcmyk(20.3%, 35.9%, 0%, 7.1%)
CIE-LABlab(69.03, 30.26, -37.69)
CIE-LCHlch(69.03, 48.34, 308.75°)
OKLaboklab(74.51% 0.0691 -0.1044)
OKLCHoklch(74.51% 0.125 303.5)
XYZxyz(47.4974, 39.3898, 85.2051)
Luminance0.3939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98ED #C8ED98
analogous
#989EED #BD98ED #E898ED
triadic
#BD98ED #EDBD98 #98EDBD
tetradic
#BD98ED #ED989E #C8ED98 #98EDE8
square
#BD98ED #ED989E #C8ED98 #98EDE8
split-complementary
#BD98ED #EDE898 #9EED98
monochromatic
#7A30DB #9C64E4 #BD98ED #DECCF6 #EEE5FA

Accessibility & contrast

On white

2.37
#BD98ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#BD98ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98ED
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98ED#FFFFFF#000000##000000
##BD98ED1.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#85A8F0
Deuteranopia (green-blind)
#8CA8EB
Tritanopia (blue-blind)
#B5A5B8
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd98ed;
/* rgb */ color: rgb(189, 152, 237);
/* oklch */ color: oklch(74.5% 0.125 303.5);
Tailwind
colors: {
  custom: {
    50: '#d2b6f3',
    500: '#bd98ed',
    950: '#000000',
  },
}
SCSS
$custom: #bd98ed;
$custom-light: #d2b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98ed",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 237
  },
  "hsl": {
    "h": 266.118,
    "s": 70.248,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.12522,
    "h": 303.5
  },
  "luminance": 0.3939
}

Semantic roles & 50–950 ramp

primary
#BD98ED
secondary
#E7F2D9
accent
#D2137F
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BD98ED

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

Preview Lab → · Contrast checker → · Palette generator →

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