#7F36BA#7F36BA

#7F36BA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.9% C 0.198 H 305.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#7F36BA
RGBrgb(127, 54, 186)
HSLhsl(273, 55%, 47%)
HSVhsv(273, 71%, 73%)
CMYKcmyk(31.7%, 71%, 0%, 27.1%)
CIE-LABlab(39.06, 54.67, -56.76)
CIE-LCHlch(39.06, 78.80, 313.92°)
OKLaboklab(49.9% 0.1153 -0.1613)
OKLCHoklch(49.9% 0.198 305.6)
XYZxyz(18.9325, 10.6957, 47.5119)
Luminance0.1070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F36BA #71BA36
analogous
#3D36BA #7F36BA #BA36B3
triadic
#7F36BA #BA7F36 #36BA7F
tetradic
#7F36BA #BA3D36 #71BA36 #36B3BA
square
#7F36BA #BA3D36 #71BA36 #36B3BA
split-complementary
#7F36BA #B3BA36 #36BA3D
monochromatic
#3E1A5B #5F288B #7F36BA #9D5DD0 #BA8DDE

Accessibility & contrast

On white

6.69
#7F36BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7F36BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F36BA
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F36BA#FFFFFF#000000##FFFFFF
##7F36BA1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#745574
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7f36ba;
/* rgb */ color: rgb(127, 54, 186);
/* oklch */ color: oklch(49.9% 0.198 305.6);
Tailwind
colors: {
  custom: {
    50: '#a973d0',
    500: '#7f36ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f36ba;
$custom-light: #a973d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f36ba",
  "rgb": {
    "r": 127,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 273.182,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49895,
    "c": 0.19825,
    "h": 305.6
  },
  "luminance": 0.10696
}

Semantic roles & 50–950 ramp

primary
#7F36BA
secondary
#A2C884
accent
#DE498C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F36BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7F36BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva