#9657DC#9657DC

#9657DC is a mid, vivid violet. Relative luminance 0.185; OKLCH L 59.2% C 0.197 H 302.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9657DC
RGBrgb(150, 87, 220)
HSLhsl(268, 66%, 60%)
HSVhsv(268, 60%, 86%)
CMYKcmyk(31.8%, 60.5%, 0%, 13.7%)
CIE-LABlab(50.06, 51.49, -58.50)
CIE-LCHlch(50.06, 77.94, 311.35°)
OKLaboklab(59.16% 0.1061 -0.1658)
OKLCHoklch(59.16% 0.197 302.6)
XYZxyz(28.9012, 18.4677, 69.7383)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9657DC #9DDC57
analogous
#575BDC #9657DC #D857DC
triadic
#9657DC #DC9657 #57DC96
tetradic
#9657DC #DC575B #9DDC57 #57DCD8
square
#9657DC #DC575B #9DDC57 #57DCD8
split-complementary
#9657DC #DCD857 #5BDC57
monochromatic
#592099 #772ACB #9657DC #B68AE7 #D5BCF1

Accessibility & contrast

On white

4.47
#9657DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9657DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9657DC
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9657DC#FFFFFF#000000##000000
##9657DC1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#887391
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9657dc;
/* rgb */ color: rgb(150, 87, 220);
/* oklch */ color: oklch(59.2% 0.197 302.6);
Tailwind
colors: {
  custom: {
    50: '#b989e8',
    500: '#9657dc',
    950: '#000000',
  },
}
SCSS
$custom: #9657dc;
$custom-light: #b989e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9657dc",
  "rgb": {
    "r": 150,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 268.421,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.1968,
    "h": 302.6
  },
  "luminance": 0.18468
}

Semantic roles & 50–950 ramp

primary
#9657DC
secondary
#C9E1AE
accent
#CD1878
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9657DC

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

Preview Lab → · Contrast checker → · Palette generator →

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