#7C46DD#7C46DD

#7C46DD is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.217 H 294.4°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7C46DD
RGBrgb(124, 70, 221)
HSLhsl(261, 69%, 57%)
HSVhsv(261, 68%, 87%)
CMYKcmyk(43.9%, 68.3%, 0%, 13.3%)
CIE-LABlab(44.07, 55.13, -68.91)
CIE-LCHlch(44.07, 88.25, 308.66°)
OKLaboklab(54.21% 0.0895 -0.1972)
OKLCHoklch(54.21% 0.217 294.4)
XYZxyz(23.5500, 13.8852, 69.8319)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C46DD #A7DD46
analogous
#465CDD #7C46DD #C846DD
triadic
#7C46DD #DD7C46 #46DD7C
tetradic
#7C46DD #DD465C #A7DD46 #46DDC8
square
#7C46DD #DD465C #A7DD46 #46DDC8
split-complementary
#7C46DD #DDC846 #5CDD46
monochromatic
#441A8E #5C24C2 #7C46DD #A17AE7 #C5ADF0

Accessibility & contrast

On white

5.56
#7C46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7C46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C46DD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C46DD#FFFFFF#000000##FFFFFF
##7C46DD1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0066DA
Tritanopia (blue-blind)
#616B8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7c46dd;
/* rgb */ color: rgb(124, 70, 221);
/* oklch */ color: oklch(54.2% 0.217 294.4);
Tailwind
colors: {
  custom: {
    50: '#a97de9',
    500: '#7c46dd',
    950: '#000000',
  },
}
SCSS
$custom: #7c46dd;
$custom-light: #a97de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c46dd",
  "rgb": {
    "r": 124,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 261.457,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54206,
    "c": 0.21654,
    "h": 294.4
  },
  "luminance": 0.13886
}

Semantic roles & 50–950 ramp

primary
#7C46DD
secondary
#C8DEA1
accent
#EC3CAD
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7C46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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