#9638CA#9638CA

#9638CA is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.1% C 0.218 H 310.5°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#9638CA
RGBrgb(150, 56, 202)
HSLhsl(279, 58%, 51%)
HSVhsv(279, 72%, 79%)
CMYKcmyk(25.7%, 72.3%, 0%, 20.8%)
CIE-LABlab(43.62, 61.87, -58.57)
CIE-LCHlch(43.62, 85.20, 316.57°)
OKLaboklab(54.15% 0.1415 -0.1658)
OKLCHoklch(54.15% 0.218 310.5)
XYZxyz(24.6505, 13.5772, 57.1878)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638CA #6CCA38
analogous
#4D38CA #9638CA #CA38B5
triadic
#9638CA #CA9638 #38CA96
tetradic
#9638CA #CA4D38 #6CCA38 #38B5CA
square
#9638CA #CA4D38 #6CCA38 #38B5CA
split-complementary
#9638CA #B5CA38 #38CA4D
monochromatic
#4F1D6B #73299B #9638CA #AF68D7 #C999E4

Accessibility & contrast

On white

5.65
#9638CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9638CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638CA#FFFFFF#000000##FFFFFF
##9638CA1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#1C69C7
Tritanopia (blue-blind)
#8F597E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9638ca;
/* rgb */ color: rgb(150, 56, 202);
/* oklch */ color: oklch(54.1% 0.218 310.5);
Tailwind
colors: {
  custom: {
    50: '#ba77db',
    500: '#9638ca',
    950: '#000000',
  },
}
SCSS
$custom: #9638ca;
$custom-light: #ba77db;
$custom-dark: #000000;
JSON
{
  "hex": "#9638ca",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 278.63,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.21801,
    "h": 310.5
  },
  "luminance": 0.13577
}

Semantic roles & 50–950 ramp

primary
#9638CA
secondary
#A6CF8E
accent
#E1477E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638CA

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

Preview Lab → · Contrast checker → · Palette generator →

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