#7B36CA#7B36CA

#7B36CA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.7% C 0.214 H 299.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7B36CA
RGBrgb(123, 54, 202)
HSLhsl(268, 58%, 50%)
HSVhsv(268, 73%, 79%)
CMYKcmyk(39.1%, 73.3%, 0%, 20.8%)
CIE-LABlab(39.77, 57.72, -64.98)
CIE-LCHlch(39.77, 86.92, 311.61°)
OKLaboklab(50.67% 0.1068 -0.1856)
OKLCHoklch(50.67% 0.214 299.9)
XYZxyz(20.1456, 11.1133, 56.9494)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36CA #85CA36
analogous
#363BCA #7B36CA #C536CA
triadic
#7B36CA #CA7B36 #36CA7B
tetradic
#7B36CA #CA363B #85CA36 #36CAC5
square
#7B36CA #CA363B #85CA36 #36CAC5
split-complementary
#7B36CA #CAC536 #3BCA36
monochromatic
#401C6A #5E299A #7B36CA #9B66D7 #BB97E4

Accessibility & contrast

On white

6.52
#7B36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7B36CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36CA
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36CA#FFFFFF#000000##FFFFFF
##7B36CA1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#695C7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b36ca;
/* rgb */ color: rgb(123, 54, 202);
/* oklch */ color: oklch(50.7% 0.214 299.9);
Tailwind
colors: {
  custom: {
    50: '#a873db',
    500: '#7b36ca',
    950: '#000000',
  },
}
SCSS
$custom: #7b36ca;
$custom-light: #a873db;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36ca",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 267.973,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.2141,
    "h": 299.9
  },
  "luminance": 0.11114
}

Semantic roles & 50–950 ramp

primary
#7B36CA
secondary
#B0CF8D
accent
#E14699
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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