#9638CD#9638CD

#9638CD is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.4% C 0.221 H 309.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#9638CD
RGBrgb(150, 56, 205)
HSLhsl(278, 60%, 51%)
HSVhsv(278, 73%, 80%)
CMYKcmyk(26.8%, 72.7%, 0%, 19.6%)
CIE-LABlab(43.83, 62.51, -59.97)
CIE-LCHlch(43.83, 86.63, 316.19°)
OKLaboklab(54.36% 0.1411 -0.1699)
OKLCHoklch(54.36% 0.221 309.7)
XYZxyz(25.0091, 13.7207, 59.0767)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638CD #6FCD38
analogous
#4B38CD #9638CD #CD38B9
triadic
#9638CD #CD9638 #38CD96
tetradic
#9638CD #CD4B38 #6FCD38 #38B9CD
square
#9638CD #CD4B38 #6FCD38 #38B9CD
split-complementary
#9638CD #B9CD38 #38CD4B
monochromatic
#501C6F #7428A0 #9638CD #B069D9 #CA9AE6

Accessibility & contrast

On white

5.61
#9638CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9638CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638CD
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638CD#FFFFFF#000000##FFFFFF
##9638CD1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#1469CA
Tritanopia (blue-blind)
#8E5A80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9638cd;
/* rgb */ color: rgb(150, 56, 205);
/* oklch */ color: oklch(54.4% 0.221 309.7);
Tailwind
colors: {
  custom: {
    50: '#ba77dd',
    500: '#9638cd',
    950: '#000000',
  },
}
SCSS
$custom: #9638cd;
$custom-light: #ba77dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9638cd",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 277.852,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54364,
    "c": 0.22086,
    "h": 309.7
  },
  "luminance": 0.1372
}

Semantic roles & 50–950 ramp

primary
#9638CD
secondary
#A8D18F
accent
#E3457F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638CD

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

Preview Lab → · Contrast checker → · Palette generator →

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