#8957DB#8957DB

#8957DB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.194 H 297.4°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8957DB
RGBrgb(137, 87, 219)
HSLhsl(263, 65%, 60%)
HSVhsv(263, 60%, 86%)
CMYKcmyk(37.4%, 60.3%, 0%, 14.1%)
CIE-LABlab(48.57, 48.35, -60.40)
CIE-LCHlch(48.57, 77.37, 308.67°)
OKLaboklab(57.73% 0.0892 -0.1718)
OKLCHoklch(57.73% 0.194 297.4)
XYZxyz(26.5077, 17.2488, 68.9369)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957DB #A9DB57
analogous
#5767DB #8957DB #CB57DB
triadic
#8957DB #DB8957 #57DB89
tetradic
#8957DB #DB5767 #A9DB57 #57DBCB
square
#8957DB #DB5767 #A9DB57 #57DBCB
split-complementary
#8957DB #DBCB57 #67DB57
monochromatic
#4D2097 #672BCA #8957DB #AC89E6 #D0BCF1

Accessibility & contrast

On white

4.72
#8957DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8957DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957DB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957DB#FFFFFF#000000##FFFFFF
##8957DB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#1D72D8
Tritanopia (blue-blind)
#767491
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8957db;
/* rgb */ color: rgb(137, 87, 219);
/* oklch */ color: oklch(57.7% 0.194 297.4);
Tailwind
colors: {
  custom: {
    50: '#b089e7',
    500: '#8957db',
    950: '#000000',
  },
}
SCSS
$custom: #8957db;
$custom-light: #b089e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8957db",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 262.727,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.19352,
    "h": 297.4
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#8957DB
secondary
#CDE0AD
accent
#E840A8
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8957DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8957DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva