#7C37CB#7C37CB

#7C37CB is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.0% C 0.214 H 300.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7C37CB
RGBrgb(124, 55, 203)
HSLhsl(268, 59%, 51%)
HSVhsv(268, 73%, 80%)
CMYKcmyk(38.9%, 72.9%, 0%, 20.4%)
CIE-LABlab(40.13, 57.70, -64.98)
CIE-LCHlch(40.13, 86.90, 311.60°)
OKLaboklab(50.97% 0.1071 -0.1855)
OKLCHoklch(50.97% 0.214 300)
XYZxyz(20.4552, 11.3291, 57.5974)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C37CB #86CB37
analogous
#373CCB #7C37CB #C637CB
triadic
#7C37CB #CB7C37 #37CB7C
tetradic
#7C37CB #CB373C #86CB37 #37CBC6
square
#7C37CB #CB373C #86CB37 #37CBC6
split-complementary
#7C37CB #CBC637 #3CCB37
monochromatic
#411C6C #5E299C #7C37CB #9C68D8 #BC98E4

Accessibility & contrast

On white

6.43
#7C37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7C37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C37CB
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C37CB#FFFFFF#000000##FFFFFF
##7C37CB1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c37cb;
/* rgb */ color: rgb(124, 55, 203);
/* oklch */ color: oklch(51.0% 0.214 300.0);
Tailwind
colors: {
  custom: {
    50: '#a874dc',
    500: '#7c37cb',
    950: '#000000',
  },
}
SCSS
$custom: #7c37cb;
$custom-light: #a874dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c37cb",
  "rgb": {
    "r": 124,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 267.973,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50971,
    "c": 0.21419,
    "h": 300
  },
  "luminance": 0.11329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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