#7C38BF#7C38BF

#7C38BF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.200 H 302.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7C38BF
RGBrgb(124, 56, 191)
HSLhsl(270, 55%, 48%)
HSVhsv(270, 71%, 75%)
CMYKcmyk(35.1%, 70.7%, 0%, 25.1%)
CIE-LABlab(39.37, 54.35, -59.22)
CIE-LCHlch(39.37, 80.38, 312.55°)
OKLaboklab(50.15% 0.1083 -0.1686)
OKLCHoklch(50.15% 0.2 302.7)
XYZxyz(19.1281, 10.8750, 50.3715)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C38BF #7BBF38
analogous
#3838BF #7C38BF #BF38BE
triadic
#7C38BF #BF7C38 #38BF7C
tetradic
#7C38BF #BF3838 #7BBF38 #38BEBF
square
#7C38BF #BF3838 #7BBF38 #38BEBF
split-complementary
#7C38BF #BEBF38 #38BF38
monochromatic
#3F1C60 #5D2A90 #7C38BF #9B63D1 #B992DF

Accessibility & contrast

On white

6.61
#7C38BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7C38BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C38BF
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C38BF#FFFFFF#000000##FFFFFF
##7C38BF1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#6E5878
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c38bf;
/* rgb */ color: rgb(124, 56, 191);
/* oklch */ color: oklch(50.1% 0.200 302.7);
Tailwind
colors: {
  custom: {
    50: '#a774d3',
    500: '#7c38bf',
    950: '#000000',
  },
}
SCSS
$custom: #7c38bf;
$custom-light: #a774d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c38bf",
  "rgb": {
    "r": 124,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 270.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50145,
    "c": 0.20041,
    "h": 302.7
  },
  "luminance": 0.10875
}

Semantic roles & 50–950 ramp

primary
#7C38BF
secondary
#A9CA89
accent
#DE4A93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7C38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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