#9631CC#9631CC

#9631CC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.6% C 0.227 H 310.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9631CC
RGBrgb(150, 49, 204)
HSLhsl(279, 61%, 50%)
HSVhsv(279, 76%, 80%)
CMYKcmyk(26.5%, 76%, 0%, 20%)
CIE-LABlab(42.82, 64.97, -61.02)
CIE-LCHlch(42.82, 89.13, 316.80°)
OKLaboklab(53.63% 0.1476 -0.173)
OKLCHoklch(53.63% 0.227 310.5)
XYZxyz(24.5729, 13.0409, 58.3377)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9631CC #67CC31
analogous
#4931CC #9631CC #CC31B5
triadic
#9631CC #CC9631 #31CC96
tetradic
#9631CC #CC4931 #67CC31 #31B5CC
square
#9631CC #CC4931 #67CC31 #31B5CC
split-complementary
#9631CC #B5CC31 #31CC49
monochromatic
#4D1969 #72259B #9631CC #AF61D9 #C892E5

Accessibility & contrast

On white

5.82
#9631CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9631CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9631CC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9631CC#FFFFFF#000000##FFFFFF
##9631CC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0367C9
Tritanopia (blue-blind)
#8F567D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9631cc;
/* rgb */ color: rgb(150, 49, 204);
/* oklch */ color: oklch(53.6% 0.227 310.5);
Tailwind
colors: {
  custom: {
    50: '#ba74dc',
    500: '#9631cc',
    950: '#000000',
  },
}
SCSS
$custom: #9631cc;
$custom-light: #ba74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9631cc",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 204
  },
  "hsl": {
    "h": 279.097,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53632,
    "c": 0.22737,
    "h": 310.5
  },
  "luminance": 0.1304
}

Semantic roles & 50–950 ramp

primary
#9631CC
secondary
#A2D089
accent
#E4437B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9631CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9631CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva