#8757CB#8757CB

#8757CB is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.174 H 299.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8757CB
RGBrgb(135, 87, 203)
HSLhsl(265, 53%, 57%)
HSVhsv(265, 57%, 80%)
CMYKcmyk(33.5%, 57.1%, 0%, 20.4%)
CIE-LABlab(47.34, 43.79, -53.25)
CIE-LCHlch(47.34, 68.95, 309.43°)
OKLaboklab(56.45% 0.0869 -0.1508)
OKLCHoklch(56.45% 0.174 299.9)
XYZxyz(24.1768, 16.2789, 58.3567)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8757CB #9BCB57
analogous
#5761CB #8757CB #C157CB
triadic
#8757CB #CB8757 #57CB87
tetradic
#8757CB #CB5761 #9BCB57 #57CBC1
square
#8757CB #CB5761 #9BCB57 #57CBC1
split-complementary
#8757CB #CBC157 #61CB57
monochromatic
#4C2880 #6836AF #8757CB #A886D9 #CAB4E8

Accessibility & contrast

On white

4.93
#8757CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8757CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8757CB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8757CB#FFFFFF#000000##FFFFFF
##8757CB1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2170CF
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#796F89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8757cb;
/* rgb */ color: rgb(135, 87, 203);
/* oklch */ color: oklch(56.5% 0.174 299.9);
Tailwind
colors: {
  custom: {
    50: '#ae88db',
    500: '#8757cb',
    950: '#000000',
  },
}
SCSS
$custom: #8757cb;
$custom-light: #ae88db;
$custom-dark: #000000;
JSON
{
  "hex": "#8757cb",
  "rgb": {
    "r": 135,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 264.828,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56453,
    "c": 0.17404,
    "h": 299.9
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#8757CB
secondary
#C3D7A7
accent
#DC4CA0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8757CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8757CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva