#9657DB#9657DB

#9657DB is a mid, vivid violet. Relative luminance 0.184; OKLCH L 59.1% C 0.196 H 302.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9657DB
RGBrgb(150, 87, 219)
HSLhsl(269, 65%, 60%)
HSVhsv(269, 60%, 86%)
CMYKcmyk(31.5%, 60.3%, 0%, 14.1%)
CIE-LABlab(50.00, 51.25, -58.04)
CIE-LCHlch(50.00, 77.43, 311.44°)
OKLaboklab(59.09% 0.1061 -0.1644)
OKLCHoklch(59.09% 0.196 302.8)
XYZxyz(28.7691, 18.4149, 69.0429)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9657DB #9CDB57
analogous
#575ADB #9657DB #D857DB
triadic
#9657DB #DB9657 #57DB96
tetradic
#9657DB #DB575A #9CDB57 #57DBD8
square
#9657DB #DB575A #9CDB57 #57DBD8
split-complementary
#9657DB #DBD857 #5ADB57
monochromatic
#592097 #772BCA #9657DB #B589E6 #D5BCF1

Accessibility & contrast

On white

4.48
#9657DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9657DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9657DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9657DB#FFFFFF#000000##000000
##9657DB1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0576DF
Deuteranopia (green-blind)
#3377D8
Tritanopia (blue-blind)
#897291
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9657db;
/* rgb */ color: rgb(150, 87, 219);
/* oklch */ color: oklch(59.1% 0.196 302.8);
Tailwind
colors: {
  custom: {
    50: '#b989e7',
    500: '#9657db',
    950: '#000000',
  },
}
SCSS
$custom: #9657db;
$custom-light: #b989e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9657db",
  "rgb": {
    "r": 150,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 268.636,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.5909,
    "c": 0.19567,
    "h": 302.8
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#9657DB
secondary
#C8E0AD
accent
#E84098
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9657DB

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

Preview Lab → · Contrast checker → · Palette generator →

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