#9658ED#9658ED

#9658ED is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.4% C 0.215 H 299.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9658ED
RGBrgb(150, 88, 237)
HSLhsl(265, 81%, 64%)
HSVhsv(265, 63%, 93%)
CMYKcmyk(36.7%, 62.9%, 0%, 7.1%)
CIE-LABlab(51.36, 55.13, -66.00)
CIE-LCHlch(51.36, 86.00, 309.87°)
OKLaboklab(60.45% 0.104 -0.1878)
OKLCHoklch(60.45% 0.215 299)
XYZxyz(31.3497, 19.5775, 82.2315)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9658ED #AFED58
analogous
#5864ED #9658ED #E058ED
triadic
#9658ED #ED9658 #58ED96
tetradic
#9658ED #ED5864 #AFED58 #58EDE0
square
#9658ED #ED5864 #AFED58 #58EDE0
split-complementary
#9658ED #EDE058 #64ED58
monochromatic
#5814B7 #7321E7 #9658ED #B98FF3 #DBC6F9

Accessibility & contrast

On white

4.27
#9658ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9658ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9658ED
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9658ED#FFFFFF#000000##000000
##9658ED1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0A79EA
Tritanopia (blue-blind)
#82799B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9658ed;
/* rgb */ color: rgb(150, 88, 237);
/* oklch */ color: oklch(60.4% 0.215 299.0);
Tailwind
colors: {
  custom: {
    50: '#ba8af4',
    500: '#9658ed',
    950: '#000000',
  },
}
SCSS
$custom: #9658ed;
$custom-light: #ba8af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9658ed",
  "rgb": {
    "r": 150,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 264.966,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60449,
    "c": 0.21466,
    "h": 299
  },
  "luminance": 0.19578
}

Semantic roles & 50–950 ramp

primary
#9658ED
secondary
#D5EBB6
accent
#DD0985
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9658ED

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

Preview Lab → · Contrast checker → · Palette generator →

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