#7C3BD2#7C3BD2

#7C3BD2 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.217 H 298.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7C3BD2
RGBrgb(124, 59, 210)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 72%, 82%)
CMYKcmyk(41%, 71.9%, 0%, 17.6%)
CIE-LABlab(41.32, 57.61, -67.08)
CIE-LCHlch(41.32, 88.42, 310.66°)
OKLaboklab(51.99% 0.1019 -0.1917)
OKLCHoklch(51.99% 0.217 298)
XYZxyz(21.5060, 12.0658, 62.1561)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BD2 #91D23B
analogous
#3B45D2 #7C3BD2 #C83BD2
triadic
#7C3BD2 #D27C3B #3BD27C
tetradic
#7C3BD2 #D23B45 #91D23B #3BD2C8
square
#7C3BD2 #D23B45 #91D23B #3BD2C8
split-complementary
#7C3BD2 #D2C83B #45D23B
monochromatic
#431B77 #5F27A9 #7C3BD2 #9D6DDD #BF9FE9

Accessibility & contrast

On white

6.15
#7C3BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7C3BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BD2
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BD2#FFFFFF#000000##FFFFFF
##7C3BD21.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#676183
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7c3bd2;
/* rgb */ color: rgb(124, 59, 210);
/* oklch */ color: oklch(52.0% 0.217 298.0);
Tailwind
colors: {
  custom: {
    50: '#a977e1',
    500: '#7c3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bd2;
$custom-light: #a977e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bd2",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 265.828,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51985,
    "c": 0.21714,
    "h": 298
  },
  "luminance": 0.12066
}

Semantic roles & 50–950 ramp

primary
#7C3BD2
secondary
#B9D594
accent
#E6429F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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