#9638CF#9638CF

#9638CF is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.5% C 0.223 H 309.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9638CF
RGBrgb(150, 56, 207)
HSLhsl(277, 61%, 52%)
HSVhsv(277, 73%, 81%)
CMYKcmyk(27.5%, 72.9%, 0%, 18.8%)
CIE-LABlab(43.97, 62.94, -60.89)
CIE-LCHlch(43.97, 87.58, 315.95°)
OKLaboklab(54.51% 0.1407 -0.1726)
OKLCHoklch(54.51% 0.223 309.2)
XYZxyz(25.2521, 13.8178, 60.3562)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638CF #71CF38
analogous
#4B38CF #9638CF #CF38BD
triadic
#9638CF #CF9638 #38CF96
tetradic
#9638CF #CF4B38 #71CF38 #38BDCF
square
#9638CF #CF4B38 #71CF38 #38BDCF
split-complementary
#9638CF #BDCF38 #38CF4B
monochromatic
#511B71 #7427A3 #9638CF #B069DB #CA9BE7

Accessibility & contrast

On white

5.58
#9638CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9638CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638CF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638CF#FFFFFF#000000##FFFFFF
##9638CF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0C69CC
Tritanopia (blue-blind)
#8D5B81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9638cf;
/* rgb */ color: rgb(150, 56, 207);
/* oklch */ color: oklch(54.5% 0.223 309.2);
Tailwind
colors: {
  custom: {
    50: '#ba77df',
    500: '#9638cf',
    950: '#000000',
  },
}
SCSS
$custom: #9638cf;
$custom-light: #ba77df;
$custom-dark: #000000;
JSON
{
  "hex": "#9638cf",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 277.351,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.54508,
    "c": 0.22275,
    "h": 309.2
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#9638CF
secondary
#A9D390
accent
#E44480
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638CF

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

Preview Lab → · Contrast checker → · Palette generator →

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