#7C36CB#7C36CB

#7C36CB is a mid, highly saturated violet. Relative luminance 0.112; OKLCH L 50.9% C 0.215 H 300.1°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7C36CB
RGBrgb(124, 54, 203)
HSLhsl(268, 59%, 50%)
HSVhsv(268, 73%, 80%)
CMYKcmyk(38.9%, 73.4%, 0%, 20.4%)
CIE-LABlab(39.97, 58.14, -65.23)
CIE-LCHlch(39.97, 87.38, 311.71°)
OKLaboklab(50.86% 0.108 -0.1863)
OKLCHoklch(50.86% 0.215 300.1)
XYZxyz(20.4082, 11.2350, 57.5817)
Luminance0.1124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C36CB #85CB36
analogous
#363ACB #7C36CB #C636CB
triadic
#7C36CB #CB7C36 #36CB7C
tetradic
#7C36CB #CB363A #85CB36 #36CBC6
square
#7C36CB #CB363A #85CB36 #36CBC6
split-complementary
#7C36CB #CBC636 #3ACB36
monochromatic
#411C6B #5E289C #7C36CB #9C67D8 #BB97E4

Accessibility & contrast

On white

6.47
#7C36CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#7C36CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C36CB
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C36CB#FFFFFF#000000##FFFFFF
##7C36CB1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#6A5C7E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7c36cb;
/* rgb */ color: rgb(124, 54, 203);
/* oklch */ color: oklch(50.9% 0.215 300.1);
Tailwind
colors: {
  custom: {
    50: '#a974dc',
    500: '#7c36cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c36cb;
$custom-light: #a974dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c36cb",
  "rgb": {
    "r": 124,
    "g": 54,
    "b": 203
  },
  "hsl": {
    "h": 268.188,
    "s": 58.893,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50861,
    "c": 0.21529,
    "h": 300.1
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#7C36CB
secondary
#B0D08D
accent
#E24699
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C36CB

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

Preview Lab → · Contrast checker → · Palette generator →

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