#9658DE#9658DE

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

Color values

HEX#9658DE
RGBrgb(150, 88, 222)
HSLhsl(268, 67%, 61%)
HSVhsv(268, 60%, 87%)
CMYKcmyk(32.4%, 60.4%, 0%, 12.9%)
CIE-LABlab(50.38, 51.45, -59.12)
CIE-LCHlch(50.38, 78.38, 311.03°)
OKLaboklab(59.43% 0.1048 -0.1676)
OKLCHoklch(59.43% 0.198 302)
XYZxyz(29.2491, 18.7373, 71.1688)
Luminance0.1874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658DE #A0DE58
analogous
#585DDE #9658DE #D958DE
triadic
#9658DE #DE9658 #58DE96
tetradic
#9658DE #DE585D #A0DE58 #58DED9
square
#9658DE #DE585D #A0DE58 #58DED9
split-complementary
#9658DE #DED958 #5DDE58
monochromatic
#591F9D #7629D0 #9658DE #B68BE8 #D6BEF2

Accessibility & contrast

On white

4.42
#9658DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9658DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658DE
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658DE#FFFFFF#000000##000000
##9658DE1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#3077DB
Tritanopia (blue-blind)
#887493
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9658de;
/* rgb */ color: rgb(150, 88, 222);
/* oklch */ color: oklch(59.4% 0.198 302.0);
Tailwind
colors: {
  custom: {
    50: '#b98ae9',
    500: '#9658de',
    950: '#000000',
  },
}
SCSS
$custom: #9658de;
$custom-light: #b98ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#9658de",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 267.761,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.59429,
    "c": 0.19767,
    "h": 302
  },
  "luminance": 0.18737
}

Semantic roles & 50–950 ramp

primary
#9658DE
secondary
#CBE2B0
accent
#CF177A
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9658DE

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

Preview Lab → · Contrast checker → · Palette generator →

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