#9657DE#9657DE

#9657DE is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.3% C 0.199 H 302.2°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9657DE
RGBrgb(150, 87, 222)
HSLhsl(268, 67%, 61%)
HSVhsv(268, 61%, 87%)
CMYKcmyk(32.4%, 60.8%, 0%, 12.9%)
CIE-LABlab(50.19, 51.97, -59.43)
CIE-LCHlch(50.19, 78.95, 311.17°)
OKLaboklab(59.29% 0.106 -0.1685)
OKLCHoklch(59.29% 0.199 302.2)
XYZxyz(29.1676, 18.5743, 71.1416)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9657DE #9FDE57
analogous
#575BDE #9657DE #D957DE
triadic
#9657DE #DE9657 #57DE96
tetradic
#9657DE #DE575B #9FDE57 #57DED9
square
#9657DE #DE575B #9FDE57 #57DED9
split-complementary
#9657DE #DED957 #5BDE57
monochromatic
#591F9C #7629CF #9657DE #B68AE8 #D6BDF2

Accessibility & contrast

On white

4.45
#9657DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9657DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9657DE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9657DE#FFFFFF#000000##000000
##9657DE1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E2
Deuteranopia (green-blind)
#2E77DB
Tritanopia (blue-blind)
#887392
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9657de;
/* rgb */ color: rgb(150, 87, 222);
/* oklch */ color: oklch(59.3% 0.199 302.2);
Tailwind
colors: {
  custom: {
    50: '#b989e9',
    500: '#9657de',
    950: '#000000',
  },
}
SCSS
$custom: #9657de;
$custom-light: #b989e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9657de",
  "rgb": {
    "r": 150,
    "g": 87,
    "b": 222
  },
  "hsl": {
    "h": 268,
    "s": 67.164,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59288,
    "c": 0.19907,
    "h": 302.2
  },
  "luminance": 0.18574
}

Semantic roles & 50–950 ramp

primary
#9657DE
secondary
#CAE2AF
accent
#CF1679
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9657DE

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

Preview Lab → · Contrast checker → · Palette generator →

#9657DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva