#9657DF#9657DF

#9657DF is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.4% C 0.200 H 302.0°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9657DF
RGBrgb(150, 87, 223)
HSLhsl(268, 68%, 61%)
HSVhsv(268, 61%, 87%)
CMYKcmyk(32.7%, 61%, 0%, 12.5%)
CIE-LABlab(50.25, 52.21, -59.90)
CIE-LCHlch(50.25, 79.46, 311.08°)
OKLaboklab(59.36% 0.106 -0.1699)
OKLCHoklch(59.36% 0.2 302)
XYZxyz(29.3020, 18.6281, 71.8496)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9657DF #A0DF57
analogous
#575CDF #9657DF #DA57DF
triadic
#9657DF #DF9657 #57DF96
tetradic
#9657DF #DF575C #A0DF57 #57DFDA
square
#9657DF #DF575C #A0DF57 #57DFDA
split-complementary
#9657DF #DFDA57 #5CDF57
monochromatic
#591E9E #7628D1 #9657DF #B68AE9 #D6BEF3

Accessibility & contrast

On white

4.44
#9657DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9657DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9657DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9657DF#FFFFFF#000000##000000
##9657DF1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E3
Deuteranopia (green-blind)
#2D77DC
Tritanopia (blue-blind)
#877493
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9657df;
/* rgb */ color: rgb(150, 87, 223);
/* oklch */ color: oklch(59.4% 0.200 302.0);
Tailwind
colors: {
  custom: {
    50: '#b989ea',
    500: '#9657df',
    950: '#000000',
  },
}
SCSS
$custom: #9657df;
$custom-light: #b989ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9657df",
  "rgb": {
    "r": 150,
    "g": 87,
    "b": 223
  },
  "hsl": {
    "h": 267.794,
    "s": 68,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.2002,
    "h": 302
  },
  "luminance": 0.18628
}

Semantic roles & 50–950 ramp

primary
#9657DF
secondary
#CBE3AF
accent
#D0167A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9657DF

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

Preview Lab → · Contrast checker → · Palette generator →

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