#8958CF#8958CF

#8958CF is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.178 H 299.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8958CF
RGBrgb(137, 88, 207)
HSLhsl(265, 55%, 58%)
HSVhsv(265, 57%, 81%)
CMYKcmyk(33.8%, 57.5%, 0%, 18.8%)
CIE-LABlab(48.01, 44.73, -54.46)
CIE-LCHlch(48.01, 70.48, 309.40°)
OKLaboklab(57.08% 0.0882 -0.1543)
OKLCHoklch(57.08% 0.178 299.8)
XYZxyz(25.0660, 16.8026, 60.9420)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8958CF #9ECF58
analogous
#5862CF #8958CF #C558CF
triadic
#8958CF #CF8958 #58CF89
tetradic
#8958CF #CF5862 #9ECF58 #58CFC5
square
#8958CF #CF5862 #9ECF58 #58CFC5
split-complementary
#8958CF #CFC558 #62CF58
monochromatic
#4E2786 #6934B6 #8958CF #AB88DD #CCB7EA

Accessibility & contrast

On white

4.82
#8958CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8958CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8958CF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8958CF#FFFFFF#000000##FFFFFF
##8958CF1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E72D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#7A708B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8958cf;
/* rgb */ color: rgb(137, 88, 207);
/* oklch */ color: oklch(57.1% 0.178 299.8);
Tailwind
colors: {
  custom: {
    50: '#af89de',
    500: '#8958cf',
    950: '#000000',
  },
}
SCSS
$custom: #8958cf;
$custom-light: #af89de;
$custom-dark: #000000;
JSON
{
  "hex": "#8958cf",
  "rgb": {
    "r": 137,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 264.706,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57075,
    "c": 0.17774,
    "h": 299.8
  },
  "luminance": 0.16803
}

Semantic roles & 50–950 ramp

primary
#8958CF
secondary
#C6D9AA
accent
#DF49A1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8958CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8958CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva