#9D88ED#9D88ED

#9D88ED is a light, vivid violet. Relative luminance 0.309; OKLCH L 68.8% C 0.146 H 291.7°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#9D88ED
RGBrgb(157, 136, 237)
HSLhsl(252, 74%, 73%)
HSVhsv(252, 43%, 93%)
CMYKcmyk(33.8%, 42.6%, 0%, 7.1%)
CIE-LABlab(62.41, 30.32, -48.28)
CIE-LCHlch(62.41, 57.01, 302.13°)
OKLaboklab(68.81% 0.0539 -0.1357)
OKLCHoklch(68.81% 0.146 291.7)
XYZxyz(37.9909, 30.8900, 84.0651)
Luminance0.3089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D88ED #D8ED88
analogous
#88A5ED #9D88ED #CF88ED
triadic
#9D88ED #ED9D88 #88ED9D
tetradic
#9D88ED #ED88A5 #D8ED88 #88EDCF
square
#9D88ED #ED88A5 #D8ED88 #88EDCF
split-complementary
#9D88ED #EDCF88 #A5ED88
monochromatic
#4721DA #7153E5 #9D88ED #C9BDF5 #E9E4FB

Accessibility & contrast

On white

2.93
#9D88ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#9D88ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D88ED
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D88ED#FFFFFF#000000##000000
##9D88ED1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#6995EB
Tritanopia (blue-blind)
#8A9BAF
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9d88ed;
/* rgb */ color: rgb(157, 136, 237);
/* oklch */ color: oklch(68.8% 0.146 291.7);
Tailwind
colors: {
  custom: {
    50: '#bdabf3',
    500: '#9d88ed',
    950: '#000000',
  },
}
SCSS
$custom: #9d88ed;
$custom-light: #bdabf3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d88ed",
  "rgb": {
    "r": 157,
    "g": 136,
    "b": 237
  },
  "hsl": {
    "h": 252.475,
    "s": 73.723,
    "l": 73.137
  },
  "oklch": {
    "l": 0.68805,
    "c": 0.14598,
    "h": 291.7
  },
  "luminance": 0.30891
}

Semantic roles & 50–950 ramp

primary
#9D88ED
secondary
#EDF3D8
accent
#D610AD
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #9D88ED

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

Preview Lab → · Contrast checker → · Palette generator →

#9D88ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva