#7C1DBB#7C1DBB

#7C1DBB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.3% C 0.223 H 306.2°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7C1DBB
RGBrgb(124, 29, 187)
HSLhsl(276, 73%, 42%)
HSVhsv(276, 84%, 73%)
CMYKcmyk(33.7%, 84.5%, 0%, 26.7%)
CIE-LABlab(35.50, 63.64, -63.16)
CIE-LCHlch(35.50, 89.66, 315.21°)
OKLaboklab(47.33% 0.1316 -0.18)
OKLCHoklch(47.33% 0.223 306.2)
XYZxyz(17.7192, 8.7518, 47.7599)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1DBB #5CBB1D
analogous
#2D1DBB #7C1DBB #BB1DAB
triadic
#7C1DBB #BB7C1D #1DBB7C
tetradic
#7C1DBB #BB2D1D #5CBB1D #1DABBB
square
#7C1DBB #BB2D1D #5CBB1D #1DABBB
split-complementary
#7C1DBB #ABBB1D #1DBB2D
monochromatic
#360D51 #591586 #7C1DBB #9C35E0 #B66AE8

Accessibility & contrast

On white

7.64
#7C1DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7C1DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1DBB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1DBB#FFFFFF#000000##FFFFFF
##7C1DBB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#704A6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c1dbb;
/* rgb */ color: rgb(124, 29, 187);
/* oklch */ color: oklch(47.3% 0.223 306.2);
Tailwind
colors: {
  custom: {
    50: '#a868d1',
    500: '#7c1dbb',
    950: '#000000',
  },
}
SCSS
$custom: #7c1dbb;
$custom-light: #a868d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1dbb",
  "rgb": {
    "r": 124,
    "g": 29,
    "b": 187
  },
  "hsl": {
    "h": 276.076,
    "s": 73.148,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47333,
    "c": 0.22299,
    "h": 306.2
  },
  "luminance": 0.08752
}

Semantic roles & 50–950 ramp

primary
#7C1DBB
secondary
#8FCE66
accent
#F03881
background
#FAF6FC
surface
#F5EBF9
border
#CFC6D2
text
#110714
muted
#807A82

Preview Lab

Preview with #7C1DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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