#7C4BED#7C4BED

#7C4BED is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.1% C 0.229 H 291.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7C4BED
RGBrgb(124, 75, 237)
HSLhsl(258, 82%, 61%)
HSVhsv(258, 68%, 93%)
CMYKcmyk(47.7%, 68.4%, 0%, 7.1%)
CIE-LABlab(46.22, 56.85, -74.47)
CIE-LCHlch(46.22, 93.69, 307.36°)
OKLaboklab(56.13% 0.0822 -0.2135)
OKLCHoklch(56.13% 0.229 291.1)
XYZxyz(26.1100, 15.4307, 81.7070)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C4BED #BCED4B
analogous
#4B6BED #7C4BED #CD4BED
triadic
#7C4BED #ED7C4B #4BED7C
tetradic
#7C4BED #ED4B6B #BCED4B #4BEDCD
square
#7C4BED #ED4B6B #BCED4B #4BEDCD
split-complementary
#7C4BED #EDCD4B #6BED4B
monochromatic
#4011AC #5517E4 #7C4BED #A483F3 #CDBAF8

Accessibility & contrast

On white

5.14
#7C4BED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7C4BED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C4BED
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C4BED#FFFFFF#000000##FFFFFF
##7C4BED1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070F2
Deuteranopia (green-blind)
#006AEA
Tritanopia (blue-blind)
#577496
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7c4bed;
/* rgb */ color: rgb(124, 75, 237);
/* oklch */ color: oklch(56.1% 0.229 291.1);
Tailwind
colors: {
  custom: {
    50: '#ab81f4',
    500: '#7c4bed',
    950: '#000000',
  },
}
SCSS
$custom: #7c4bed;
$custom-light: #ab81f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c4bed",
  "rgb": {
    "r": 124,
    "g": 75,
    "b": 237
  },
  "hsl": {
    "h": 258.148,
    "s": 81.818,
    "l": 61.176
  },
  "oklch": {
    "l": 0.56129,
    "c": 0.2288,
    "h": 291.1
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#7C4BED
secondary
#D6E8AB
accent
#DE079D
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #7C4BED

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

Preview Lab → · Contrast checker → · Palette generator →

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