#7C2EAF#7C2EAF

#7C2EAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.196 H 308.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7C2EAF
RGBrgb(124, 46, 175)
HSLhsl(276, 58%, 43%)
HSVhsv(276, 74%, 69%)
CMYKcmyk(29.1%, 73.7%, 0%, 31.4%)
CIE-LABlab(36.62, 55.04, -54.23)
CIE-LCHlch(36.62, 77.27, 315.43°)
OKLaboklab(47.82% 0.121 -0.1539)
OKLCHoklch(47.82% 0.196 308.2)
XYZxyz(17.0254, 9.3345, 41.4540)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2EAF #61AF2E
analogous
#3B2EAF #7C2EAF #AF2EA1
triadic
#7C2EAF #AF7C2E #2EAF7C
tetradic
#7C2EAF #AF3B2E #61AF2E #2EA1AF
square
#7C2EAF #AF3B2E #61AF2E #2EA1AF
split-complementary
#7C2EAF #A1AF2E #2EAF3B
monochromatic
#37154E #5A217F #7C2EAF #9B4BD0 #B67BDC

Accessibility & contrast

On white

7.33
#7C2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7C2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2EAF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2EAF#FFFFFF#000000##FFFFFF
##7C2EAF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#744C6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c2eaf;
/* rgb */ color: rgb(124, 46, 175);
/* oklch */ color: oklch(47.8% 0.196 308.2);
Tailwind
colors: {
  custom: {
    50: '#a76ec8',
    500: '#7c2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #7c2eaf;
$custom-light: #a76ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2eaf",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 276.279,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.19576,
    "h": 308.2
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#7C2EAF
secondary
#94C574
accent
#E24684
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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