#9638C7#9638C7

#9638C7 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.215 H 311.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9638C7
RGBrgb(150, 56, 199)
HSLhsl(279, 56%, 50%)
HSVhsv(279, 72%, 78%)
CMYKcmyk(24.6%, 71.9%, 0%, 22%)
CIE-LABlab(43.41, 61.24, -57.17)
CIE-LCHlch(43.41, 83.78, 316.97°)
OKLaboklab(53.94% 0.142 -0.1617)
OKLCHoklch(53.94% 0.215 311.3)
XYZxyz(24.2987, 13.4365, 55.3352)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638C7 #69C738
analogous
#4F38C7 #9638C7 #C738B0
triadic
#9638C7 #C79638 #38C796
tetradic
#9638C7 #C74F38 #69C738 #38B0C7
square
#9638C7 #C74F38 #69C738 #38B0C7
split-complementary
#9638C7 #B0C738 #38C74F
monochromatic
#4E1D67 #722B97 #9638C7 #AF68D4 #C898E2

Accessibility & contrast

On white

5.70
#9638C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9638C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638C7
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638C7#FFFFFF#000000##FFFFFF
##9638C71.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#90587C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9638c7;
/* rgb */ color: rgb(150, 56, 199);
/* oklch */ color: oklch(53.9% 0.215 311.3);
Tailwind
colors: {
  custom: {
    50: '#b977d9',
    500: '#9638c7',
    950: '#000000',
  },
}
SCSS
$custom: #9638c7;
$custom-light: #b977d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9638c7",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 279.441,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.21517,
    "h": 311.3
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#9638C7
secondary
#A3CD8D
accent
#DF487C
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638C7

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

Preview Lab → · Contrast checker → · Palette generator →

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