#7D37CB#7D37CB

#7D37CB is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.214 H 300.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7D37CB
RGBrgb(125, 55, 203)
HSLhsl(268, 59%, 51%)
HSVhsv(268, 73%, 80%)
CMYKcmyk(38.4%, 72.9%, 0%, 20.4%)
CIE-LABlab(40.25, 57.87, -64.77)
CIE-LCHlch(40.25, 86.86, 311.78°)
OKLaboklab(51.09% 0.1085 -0.1849)
OKLCHoklch(51.09% 0.214 300.4)
XYZxyz(20.6005, 11.4040, 57.6042)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D37CB #85CB37
analogous
#373BCB #7D37CB #C737CB
triadic
#7D37CB #CB7D37 #37CB7D
tetradic
#7D37CB #CB373B #85CB37 #37CBC7
square
#7D37CB #CB373B #85CB37 #37CBC7
split-complementary
#7D37CB #CBC737 #3BCB37
monochromatic
#421C6C #5F299C #7D37CB #9D68D8 #BC98E4

Accessibility & contrast

On white

6.40
#7D37CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#7D37CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D37CB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D37CB#FFFFFF#000000##FFFFFF
##7D37CB1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d37cb;
/* rgb */ color: rgb(125, 55, 203);
/* oklch */ color: oklch(51.1% 0.214 300.4);
Tailwind
colors: {
  custom: {
    50: '#a974dc',
    500: '#7d37cb',
    950: '#000000',
  },
}
SCSS
$custom: #7d37cb;
$custom-light: #a974dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d37cb",
  "rgb": {
    "r": 125,
    "g": 55,
    "b": 203
  },
  "hsl": {
    "h": 268.378,
    "s": 58.73,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51086,
    "c": 0.21434,
    "h": 300.4
  },
  "luminance": 0.11404
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D37CB

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

Preview Lab → · Contrast checker → · Palette generator →

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