#9631D3#9631D3

#9631D3 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.2% C 0.234 H 308.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9631D3
RGBrgb(150, 49, 211)
HSLhsl(277, 65%, 51%)
HSVhsv(277, 77%, 83%)
CMYKcmyk(28.9%, 76.8%, 0%, 17.3%)
CIE-LABlab(43.34, 66.43, -64.23)
CIE-LCHlch(43.34, 92.40, 315.97°)
OKLaboklab(54.15% 0.1462 -0.1824)
OKLCHoklch(54.15% 0.234 308.7)
XYZxyz(25.4314, 13.3843, 62.8591)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9631D3 #6ED331
analogous
#4531D3 #9631D3 #D331BF
triadic
#9631D3 #D39631 #31D396
tetradic
#9631D3 #D34531 #6ED331 #31BFD3
square
#9631D3 #D34531 #6ED331 #31BFD3
split-complementary
#9631D3 #BFD331 #31D345
monochromatic
#501871 #7323A4 #9631D3 #B063DE #C996E9

Accessibility & contrast

On white

5.71
#9631D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9631D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9631D3
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9631D3#FFFFFF#000000##FFFFFF
##9631D31.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#0067D0
Tritanopia (blue-blind)
#8C5981
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9631d3;
/* rgb */ color: rgb(150, 49, 211);
/* oklch */ color: oklch(54.2% 0.234 308.7);
Tailwind
colors: {
  custom: {
    50: '#ba74e1',
    500: '#9631d3',
    950: '#000000',
  },
}
SCSS
$custom: #9631d3;
$custom-light: #ba74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9631d3",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 211
  },
  "hsl": {
    "h": 277.407,
    "s": 64.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54152,
    "c": 0.23375,
    "h": 308.7
  },
  "luminance": 0.13384
}

Semantic roles & 50–950 ramp

primary
#9631D3
secondary
#A7D48C
accent
#E8407F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9631D3

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

Preview Lab → · Contrast checker → · Palette generator →

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