#8D7BED#8D7BED

#8D7BED is a light, vivid blue. Relative luminance 0.259; OKLCH L 65.1% C 0.165 H 288.2°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8D7BED
RGBrgb(141, 123, 237)
HSLhsl(249, 76%, 71%)
HSVhsv(249, 48%, 93%)
CMYKcmyk(40.5%, 48.1%, 0%, 7.1%)
CIE-LABlab(57.98, 33.77, -55.40)
CIE-LCHlch(57.98, 64.88, 301.36°)
OKLaboklab(65.14% 0.0515 -0.1569)
OKLCHoklch(65.14% 0.165 288.2)
XYZxyz(33.3493, 25.9419, 83.3545)
Luminance0.2594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D7BED #DBED7B
analogous
#7BA2ED #8D7BED #C67BED
triadic
#8D7BED #ED8D7B #7BED8D
tetradic
#8D7BED #ED7BA2 #DBED7B #7BEDC6
square
#8D7BED #ED7BA2 #DBED7B #7BEDC6
split-complementary
#8D7BED #EDC67B #A2ED7B
monochromatic
#391DD1 #5E45E6 #8D7BED #BCB1F4 #E8E4FB

Accessibility & contrast

On white

3.39
#8D7BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#8D7BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D7BED
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D7BED#FFFFFF#000000##000000
##8D7BED1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E8EF1
Deuteranopia (green-blind)
#4E88EA
Tritanopia (blue-blind)
#7292A9
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d7bed;
/* rgb */ color: rgb(141, 123, 237);
/* oklch */ color: oklch(65.1% 0.165 288.2);
Tailwind
colors: {
  custom: {
    50: '#b3a1f3',
    500: '#8d7bed',
    950: '#000000',
  },
}
SCSS
$custom: #8d7bed;
$custom-light: #b3a1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d7bed",
  "rgb": {
    "r": 141,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 249.474,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.65136,
    "c": 0.16517,
    "h": 288.2
  },
  "luminance": 0.25943
}

Semantic roles & 50–950 ramp

primary
#8D7BED
secondary
#ECF1D2
accent
#D80DB8
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110F17
muted
#807E85

Preview Lab

Preview with #8D7BED

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

Preview Lab → · Contrast checker → · Palette generator →

#8D7BED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva