#7C38BE#7C38BE

#7C38BE is a mid, vivid violet. Relative luminance 0.108; OKLCH L 50.1% C 0.199 H 303.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#7C38BE
RGBrgb(124, 56, 190)
HSLhsl(270, 54%, 48%)
HSVhsv(270, 71%, 75%)
CMYKcmyk(34.7%, 70.5%, 0%, 25.5%)
CIE-LABlab(39.29, 54.11, -58.75)
CIE-LCHlch(39.29, 79.87, 312.64°)
OKLaboklab(50.07% 0.1085 -0.1672)
OKLCHoklch(50.07% 0.199 303)
XYZxyz(19.0184, 10.8311, 49.7939)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C38BE #7ABE38
analogous
#3938BE #7C38BE #BE38BD
triadic
#7C38BE #BE7C38 #38BE7C
tetradic
#7C38BE #BE3938 #7ABE38 #38BDBE
square
#7C38BE #BE3938 #7ABE38 #38BDBE
split-complementary
#7C38BE #BDBE38 #38BE39
monochromatic
#3E1C5F #5D2A8F #7C38BE #9A62D1 #B992DF

Accessibility & contrast

On white

6.63
#7C38BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7C38BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C38BE
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C38BE#FFFFFF#000000##FFFFFF
##7C38BE1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC2
Deuteranopia (green-blind)
#005CBB
Tritanopia (blue-blind)
#6F5877
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7c38be;
/* rgb */ color: rgb(124, 56, 190);
/* oklch */ color: oklch(50.1% 0.199 303.0);
Tailwind
colors: {
  custom: {
    50: '#a774d2',
    500: '#7c38be',
    950: '#000000',
  },
}
SCSS
$custom: #7c38be;
$custom-light: #a774d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c38be",
  "rgb": {
    "r": 124,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 270.448,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50068,
    "c": 0.19936,
    "h": 303
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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