#9658EC#9658EC

#9658EC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.214 H 299.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9658EC
RGBrgb(150, 88, 236)
HSLhsl(265, 80%, 64%)
HSVhsv(265, 63%, 93%)
CMYKcmyk(36.4%, 62.7%, 0%, 7.5%)
CIE-LABlab(51.29, 54.89, -65.55)
CIE-LCHlch(51.29, 85.49, 309.94°)
OKLaboklab(60.38% 0.104 -0.1865)
OKLCHoklch(60.38% 0.214 299.2)
XYZxyz(31.2040, 19.5193, 81.4642)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658EC #AEEC58
analogous
#5864EC #9658EC #E058EC
triadic
#9658EC #EC9658 #58EC96
tetradic
#9658EC #EC5864 #AEEC58 #58ECE0
square
#9658EC #EC5864 #AEEC58 #58ECE0
split-complementary
#9658EC #ECE058 #64EC58
monochromatic
#5815B5 #7321E6 #9658EC #B98FF2 #DBC6F9

Accessibility & contrast

On white

4.28
#9658EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#9658EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658EC
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658EC#FFFFFF#000000##000000
##9658EC1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0F79E9
Tritanopia (blue-blind)
#83799A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9658ec;
/* rgb */ color: rgb(150, 88, 236);
/* oklch */ color: oklch(60.4% 0.214 299.2);
Tailwind
colors: {
  custom: {
    50: '#ba8af3',
    500: '#9658ec',
    950: '#000000',
  },
}
SCSS
$custom: #9658ec;
$custom-light: #ba8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9658ec",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 265.135,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.6038,
    "c": 0.21354,
    "h": 299.2
  },
  "luminance": 0.1952
}

Semantic roles & 50–950 ramp

primary
#9658EC
secondary
#D4EAB6
accent
#DC0A84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9658EC

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

Preview Lab → · Contrast checker → · Palette generator →

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