#BD98EB#BD98EB

#BD98EB is a light, vivid violet. Relative luminance 0.393; OKLCH L 74.4% C 0.123 H 304.1°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#BD98EB
RGBrgb(189, 152, 235)
HSLhsl(267, 67%, 76%)
HSVhsv(267, 35%, 92%)
CMYKcmyk(19.6%, 35.3%, 0%, 7.8%)
CIE-LABlab(68.95, 29.81, -36.73)
CIE-LCHlch(68.95, 47.30, 309.06°)
OKLaboklab(74.41% 0.0687 -0.1016)
OKLCHoklch(74.41% 0.123 304.1)
XYZxyz(47.2068, 39.2736, 83.6748)
Luminance0.3927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BD98EB #C6EB98
analogous
#989CEB #BD98EB #E698EB
triadic
#BD98EB #EBBD98 #98EBBD
tetradic
#BD98EB #EB989C #C6EB98 #98EBE6
square
#BD98EB #EB989C #C6EB98 #98EBE6
split-complementary
#BD98EB #EBE698 #9CEB98
monochromatic
#7B32D7 #9C65E1 #BD98EB #DECBF5 #EFE5FA

Accessibility & contrast

On white

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

On black

8.85
#BD98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BD98EB
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BD98EB#FFFFFF#000000##000000
##BD98EB1.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A7EE
Deuteranopia (green-blind)
#8DA8E9
Tritanopia (blue-blind)
#B6A5B7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bd98eb;
/* rgb */ color: rgb(189, 152, 235);
/* oklch */ color: oklch(74.4% 0.123 304.1);
Tailwind
colors: {
  custom: {
    50: '#d2b6f1',
    500: '#bd98eb',
    950: '#000000',
  },
}
SCSS
$custom: #bd98eb;
$custom-light: #d2b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#bd98eb",
  "rgb": {
    "r": 189,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 266.747,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74413,
    "c": 0.12266,
    "h": 304.1
  },
  "luminance": 0.39273
}

Semantic roles & 50–950 ramp

primary
#BD98EB
secondary
#E7F2D9
accent
#CF167D
background
#FDFBFE
surface
#FAF6FD
border
#D3D0D5
text
#141117
muted
#838085

Preview Lab

Preview with #BD98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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