#7C3BD5#7C3BD5

#7C3BD5 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.2% C 0.220 H 297.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7C3BD5
RGBrgb(124, 59, 213)
HSLhsl(265, 65%, 53%)
HSVhsv(265, 72%, 84%)
CMYKcmyk(41.8%, 72.3%, 0%, 16.5%)
CIE-LABlab(41.56, 58.35, -68.42)
CIE-LCHlch(41.56, 89.93, 310.46°)
OKLaboklab(52.23% 0.1013 -0.1957)
OKLCHoklch(52.23% 0.22 297.4)
XYZxyz(21.8833, 12.2167, 64.1430)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BD5 #94D53B
analogous
#3B47D5 #7C3BD5 #C93BD5
triadic
#7C3BD5 #D57C3B #3BD57C
tetradic
#7C3BD5 #D53B47 #94D53B #3BD5C9
square
#7C3BD5 #D53B47 #94D53B #3BD5C9
split-complementary
#7C3BD5 #D5C93B #47D53B
monochromatic
#431A7B #5F25AE #7C3BD5 #9E6DE0 #BFA0EB

Accessibility & contrast

On white

6.10
#7C3BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7C3BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BD5
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BD5#FFFFFF#000000##FFFFFF
##7C3BD51.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D9
Deuteranopia (green-blind)
#0060D2
Tritanopia (blue-blind)
#656285
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3bd5;
/* rgb */ color: rgb(124, 59, 213);
/* oklch */ color: oklch(52.2% 0.220 297.4);
Tailwind
colors: {
  custom: {
    50: '#a977e3',
    500: '#7c3bd5',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bd5;
$custom-light: #a977e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bd5",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 213
  },
  "hsl": {
    "h": 265.325,
    "s": 64.706,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52228,
    "c": 0.22034,
    "h": 297.4
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#7C3BD5
secondary
#BBD795
accent
#E840A1
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110916
muted
#807B84

Preview Lab

Preview with #7C3BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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