#7C38C3#7C38C3

#7C38C3 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.5% C 0.205 H 301.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7C38C3
RGBrgb(124, 56, 195)
HSLhsl(269, 55%, 49%)
HSVhsv(269, 71%, 76%)
CMYKcmyk(36.4%, 71.3%, 0%, 23.5%)
CIE-LABlab(39.67, 55.31, -61.07)
CIE-LCHlch(39.67, 82.39, 312.17°)
OKLaboklab(50.45% 0.1077 -0.174)
OKLCHoklch(50.45% 0.205 301.7)
XYZxyz(19.5743, 11.0535, 52.7215)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C38C3 #7FC338
analogous
#3839C3 #7C38C3 #C238C3
triadic
#7C38C3 #C37C38 #38C37C
tetradic
#7C38C3 #C33839 #7FC338 #38C3C2
square
#7C38C3 #C33839 #7FC338 #38C3C2
split-complementary
#7C38C3 #C3C238 #39C338
monochromatic
#401D64 #5E2A93 #7C38C3 #9B65D3 #BA95E1

Accessibility & contrast

On white

6.54
#7C38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7C38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C38C3
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C38C3#FFFFFF#000000##FFFFFF
##7C38C31.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#6D5A7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c38c3;
/* rgb */ color: rgb(124, 56, 195);
/* oklch */ color: oklch(50.5% 0.205 301.7);
Tailwind
colors: {
  custom: {
    50: '#a874d6',
    500: '#7c38c3',
    950: '#000000',
  },
}
SCSS
$custom: #7c38c3;
$custom-light: #a874d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c38c3",
  "rgb": {
    "r": 124,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 269.353,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.50453,
    "c": 0.20464,
    "h": 301.7
  },
  "luminance": 0.11054
}

Semantic roles & 50–950 ramp

primary
#7C38C3
secondary
#ACCC8B
accent
#DF4996
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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