#7C3FD2#7C3FD2

#7C3FD2 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.5% C 0.213 H 297.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7C3FD2
RGBrgb(124, 63, 210)
HSLhsl(265, 62%, 54%)
HSVhsv(265, 70%, 82%)
CMYKcmyk(41%, 70%, 0%, 17.6%)
CIE-LABlab(41.99, 55.73, -65.99)
CIE-LCHlch(41.99, 86.38, 310.18°)
OKLaboklab(52.46% 0.0982 -0.1885)
OKLCHoklch(52.46% 0.213 297.5)
XYZxyz(21.7195, 12.4929, 62.2273)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C3FD2 #95D23F
analogous
#3F4BD2 #7C3FD2 #C53FD2
triadic
#7C3FD2 #D27C3F #3FD27C
tetradic
#7C3FD2 #D23F4B #95D23F #3FD2C5
square
#7C3FD2 #D23F4B #95D23F #3FD2C5
split-complementary
#7C3FD2 #D2C53F #4BD23F
monochromatic
#431D7A #5F28AC #7C3FD2 #9E71DE #C0A2E9

Accessibility & contrast

On white

6.00
#7C3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7C3FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C3FD2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C3FD2#FFFFFF#000000##FFFFFF
##7C3FD21.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#666384
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7c3fd2;
/* rgb */ color: rgb(124, 63, 210);
/* oklch */ color: oklch(52.5% 0.213 297.5);
Tailwind
colors: {
  custom: {
    50: '#a979e1',
    500: '#7c3fd2',
    950: '#000000',
  },
}
SCSS
$custom: #7c3fd2;
$custom-light: #a979e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7c3fd2",
  "rgb": {
    "r": 124,
    "g": 63,
    "b": 210
  },
  "hsl": {
    "h": 264.898,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5246,
    "c": 0.21257,
    "h": 297.5
  },
  "luminance": 0.12493
}

Semantic roles & 50–950 ramp

primary
#7C3FD2
secondary
#BCD697
accent
#E543A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #7C3FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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