#9638C6#9638C6

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

Color values

HEX#9638C6
RGBrgb(150, 56, 198)
HSLhsl(280, 56%, 50%)
HSVhsv(280, 72%, 78%)
CMYKcmyk(24.2%, 71.7%, 0%, 22.4%)
CIE-LABlab(43.35, 61.03, -56.70)
CIE-LCHlch(43.35, 83.30, 317.11°)
OKLaboklab(53.87% 0.1421 -0.1603)
OKLCHoklch(53.87% 0.214 311.6)
XYZxyz(24.1830, 13.3902, 54.7258)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638C6 #68C638
analogous
#4F38C6 #9638C6 #C638AF
triadic
#9638C6 #C69638 #38C696
tetradic
#9638C6 #C64F38 #68C638 #38AFC6
square
#9638C6 #C64F38 #68C638 #38AFC6
split-complementary
#9638C6 #AFC638 #38C64F
monochromatic
#4E1D67 #722B96 #9638C6 #AF67D4 #C897E2

Accessibility & contrast

On white

5.71
#9638C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9638C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638C6
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638C6#FFFFFF#000000##FFFFFF
##9638C61.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#2468C3
Tritanopia (blue-blind)
#90577C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9638c6;
/* rgb */ color: rgb(150, 56, 198);
/* oklch */ color: oklch(53.9% 0.214 311.6);
Tailwind
colors: {
  custom: {
    50: '#b977d8',
    500: '#9638c6',
    950: '#000000',
  },
}
SCSS
$custom: #9638c6;
$custom-light: #b977d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9638c6",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 198
  },
  "hsl": {
    "h": 279.718,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.53867,
    "c": 0.21422,
    "h": 311.6
  },
  "luminance": 0.1339
}

Semantic roles & 50–950 ramp

primary
#9638C6
secondary
#A2CD8D
accent
#DF497C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120915
muted
#817B83

Preview Lab

Preview with #9638C6

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

Preview Lab → · Contrast checker → · Palette generator →

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