#9658DD#9658DD

#9658DD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.4% C 0.197 H 302.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9658DD
RGBrgb(150, 88, 221)
HSLhsl(268, 66%, 61%)
HSVhsv(268, 60%, 87%)
CMYKcmyk(32.1%, 60.2%, 0%, 13.3%)
CIE-LABlab(50.32, 51.21, -58.66)
CIE-LCHlch(50.32, 77.87, 311.12°)
OKLaboklab(59.36% 0.1049 -0.1662)
OKLCHoklch(59.36% 0.197 302.2)
XYZxyz(29.1155, 18.6839, 70.4650)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658DD #9FDD58
analogous
#585CDD #9658DD #D858DD
triadic
#9658DD #DD9658 #58DD96
tetradic
#9658DD #DD585C #9FDD58 #58DDD8
square
#9658DD #DD585C #9FDD58 #58DDD8
split-complementary
#9658DD #DDD858 #5CDD58
monochromatic
#59209B #762ACE #9658DD #B68BE7 #D6BEF2

Accessibility & contrast

On white

4.43
#9658DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9658DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658DD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658DD#FFFFFF#000000##000000
##9658DD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0377E1
Deuteranopia (green-blind)
#3177DA
Tritanopia (blue-blind)
#887492
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9658dd;
/* rgb */ color: rgb(150, 88, 221);
/* oklch */ color: oklch(59.4% 0.197 302.2);
Tailwind
colors: {
  custom: {
    50: '#b98ae8',
    500: '#9658dd',
    950: '#000000',
  },
}
SCSS
$custom: #9658dd;
$custom-light: #b98ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9658dd",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 267.97,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59363,
    "c": 0.19654,
    "h": 302.2
  },
  "luminance": 0.18684
}

Semantic roles & 50–950 ramp

primary
#9658DD
secondary
#CAE2AF
accent
#CE1779
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9658DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9658DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva