#9657F2#9657F2

#9657F2 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.222 H 298.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9657F2
RGBrgb(150, 87, 242)
HSLhsl(264, 86%, 65%)
HSVhsv(264, 64%, 95%)
CMYKcmyk(38%, 64%, 0%, 5.1%)
CIE-LABlab(51.51, 56.88, -68.56)
CIE-LCHlch(51.51, 89.08, 309.68°)
OKLaboklab(60.67% 0.1046 -0.1953)
OKLCHoklch(60.67% 0.222 298.2)
XYZxyz(32.0088, 19.7108, 86.1053)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9657F2 #B3F257
analogous
#5766F2 #9657F2 #E357F2
triadic
#9657F2 #F29657 #57F296
tetradic
#9657F2 #F25766 #B3F257 #57F2E3
square
#9657F2 #F25766 #B3F257 #57F2E3
split-complementary
#9657F2 #F2E357 #66F257
monochromatic
#570FC0 #721EEE #9657F2 #BA90F6 #DDC9FB

Accessibility & contrast

On white

4.25
#9657F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9657F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9657F2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9657F2#FFFFFF#000000##000000
##9657F21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#807A9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9657f2;
/* rgb */ color: rgb(150, 87, 242);
/* oklch */ color: oklch(60.7% 0.222 298.2);
Tailwind
colors: {
  custom: {
    50: '#bb8af7',
    500: '#9657f2',
    950: '#000000',
  },
}
SCSS
$custom: #9657f2;
$custom-light: #bb8af7;
$custom-dark: #000000;
JSON
{
  "hex": "#9657f2",
  "rgb": {
    "r": 150,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 264.387,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60667,
    "c": 0.22156,
    "h": 298.2
  },
  "luminance": 0.19711
}

Semantic roles & 50–950 ramp

primary
#9657F2
secondary
#D7EDB8
accent
#E20388
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9657F2

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

Preview Lab → · Contrast checker → · Palette generator →

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