#7B36CC#7B36CC

#7B36CC is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.8% C 0.216 H 299.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7B36CC
RGBrgb(123, 54, 204)
HSLhsl(268, 60%, 51%)
HSVhsv(268, 74%, 80%)
CMYKcmyk(39.7%, 73.5%, 0%, 20%)
CIE-LABlab(39.93, 58.21, -65.89)
CIE-LCHlch(39.93, 87.92, 311.46°)
OKLaboklab(50.83% 0.1063 -0.1882)
OKLCHoklch(50.83% 0.216 299.5)
XYZxyz(20.3839, 11.2087, 58.2046)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B36CC #87CC36
analogous
#363CCC #7B36CC #C636CC
triadic
#7B36CC #CC7B36 #36CC7B
tetradic
#7B36CC #CC363C #87CC36 #36CCC6
square
#7B36CC #CC363C #87CC36 #36CCC6
split-complementary
#7B36CC #CCC636 #3CCC36
monochromatic
#411B6C #5E289D #7B36CC #9B67D8 #BB98E5

Accessibility & contrast

On white

6.48
#7B36CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7B36CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B36CC
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B36CC#FFFFFF#000000##FFFFFF
##7B36CC1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ED0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#685C7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7b36cc;
/* rgb */ color: rgb(123, 54, 204);
/* oklch */ color: oklch(50.8% 0.216 299.5);
Tailwind
colors: {
  custom: {
    50: '#a874dd',
    500: '#7b36cc',
    950: '#000000',
  },
}
SCSS
$custom: #7b36cc;
$custom-light: #a874dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b36cc",
  "rgb": {
    "r": 123,
    "g": 54,
    "b": 204
  },
  "hsl": {
    "h": 267.6,
    "s": 59.524,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50828,
    "c": 0.21618,
    "h": 299.5
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#7B36CC
secondary
#B2D08E
accent
#E3459A
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7B36CC

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

Preview Lab → · Contrast checker → · Palette generator →

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