#9638CB#9638CB

#9638CB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.2% C 0.219 H 310.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9638CB
RGBrgb(150, 56, 203)
HSLhsl(278, 59%, 51%)
HSVhsv(278, 72%, 80%)
CMYKcmyk(26.1%, 72.4%, 0%, 20.4%)
CIE-LABlab(43.69, 62.09, -59.04)
CIE-LCHlch(43.69, 85.68, 316.44°)
OKLaboklab(54.22% 0.1414 -0.1672)
OKLCHoklch(54.22% 0.219 310.2)
XYZxyz(24.7692, 13.6247, 57.8133)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638CB #6DCB38
analogous
#4C38CB #9638CB #CB38B7
triadic
#9638CB #CB9638 #38CB96
tetradic
#9638CB #CB4C38 #6DCB38 #38B7CB
square
#9638CB #CB4C38 #6DCB38 #38B7CB
split-complementary
#9638CB #B7CB38 #38CB4C
monochromatic
#4F1C6C #73299D #9638CB #B069D8 #C999E4

Accessibility & contrast

On white

5.64
#9638CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9638CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638CB#FFFFFF#000000##FFFFFF
##9638CB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#1969C8
Tritanopia (blue-blind)
#8F597E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9638cb;
/* rgb */ color: rgb(150, 56, 203);
/* oklch */ color: oklch(54.2% 0.219 310.2);
Tailwind
colors: {
  custom: {
    50: '#ba77dc',
    500: '#9638cb',
    950: '#000000',
  },
}
SCSS
$custom: #9638cb;
$custom-light: #ba77dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9638cb",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 278.367,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.21895,
    "h": 310.2
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#9638CB
secondary
#A6D08F
accent
#E2467E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9638CB

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

Preview Lab → · Contrast checker → · Palette generator →

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