#9638C9#9638C9

#9638C9 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.217 H 310.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9638C9
RGBrgb(150, 56, 201)
HSLhsl(279, 57%, 50%)
HSVhsv(279, 72%, 79%)
CMYKcmyk(25.4%, 72.1%, 0%, 21.2%)
CIE-LABlab(43.55, 61.66, -58.10)
CIE-LCHlch(43.55, 84.73, 316.70°)
OKLaboklab(54.08% 0.1417 -0.1645)
OKLCHoklch(54.08% 0.217 310.7)
XYZxyz(24.5324, 13.5300, 56.5662)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638C9 #6BC938
analogous
#4E38C9 #9638C9 #C938B3
triadic
#9638C9 #C99638 #38C996
tetradic
#9638C9 #C94E38 #6BC938 #38B3C9
square
#9638C9 #C94E38 #6BC938 #38B3C9
split-complementary
#9638C9 #B3C938 #38C94E
monochromatic
#4F1D6A #732A9A #9638C9 #AF68D6 #C998E3

Accessibility & contrast

On white

5.67
#9638C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9638C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638C9
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638C9#FFFFFF#000000##FFFFFF
##9638C91.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#1E68C6
Tritanopia (blue-blind)
#8F597D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9638c9;
/* rgb */ color: rgb(150, 56, 201);
/* oklch */ color: oklch(54.1% 0.217 310.7);
Tailwind
colors: {
  custom: {
    50: '#b977da',
    500: '#9638c9',
    950: '#000000',
  },
}
SCSS
$custom: #9638c9;
$custom-light: #b977da;
$custom-dark: #000000;
JSON
{
  "hex": "#9638c9",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 278.897,
    "s": 57.312,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54078,
    "c": 0.21706,
    "h": 310.7
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#9638C9
secondary
#A5CF8E
accent
#E1477D
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638C9

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

Preview Lab → · Contrast checker → · Palette generator →

#9638C9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva