#7C3BD3#7C3BD3

#7C3BD3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.1% C 0.218 H 297.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7C3BD3
RGBrgb(124, 59, 211)
HSLhsl(266, 63%, 53%)
HSVhsv(266, 72%, 83%)
CMYKcmyk(41.2%, 72%, 0%, 17.3%)
CIE-LABlab(41.40, 57.86, -67.53)
CIE-LCHlch(41.40, 88.92, 310.59°)
OKLaboklab(52.07% 0.1017 -0.193)
OKLCHoklch(52.07% 0.218 297.8)
XYZxyz(21.6310, 12.1158, 62.8143)
Luminance0.1212 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3BD3 #92D33B
analogous
#3B46D3 #7C3BD3 #C83BD3
triadic
#7C3BD3 #D37C3B #3BD37C
tetradic
#7C3BD3 #D33B46 #92D33B #3BD3C8
square
#7C3BD3 #D33B46 #92D33B #3BD3C8
split-complementary
#7C3BD3 #D3C83B #46D33B
monochromatic
#431B79 #5F26AB #7C3BD3 #9D6DDE #BF9FE9

Accessibility & contrast

On white

6.13
#7C3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7C3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3BD3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3BD3#FFFFFF#000000##FFFFFF
##7C3BD31.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#666284
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7c3bd3;
/* rgb */ color: rgb(124, 59, 211);
/* oklch */ color: oklch(52.1% 0.218 297.8);
Tailwind
colors: {
  custom: {
    50: '#a977e2',
    500: '#7c3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #7c3bd3;
$custom-light: #a977e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3bd3",
  "rgb": {
    "r": 124,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 265.658,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52066,
    "c": 0.21821,
    "h": 297.8
  },
  "luminance": 0.12116
}

Semantic roles & 50–950 ramp

primary
#7C3BD3
secondary
#BAD694
accent
#E641A0
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #7C3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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