#7D46D2#7D46D2

#7D46D2 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.204 H 296.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7D46D2
RGBrgb(125, 70, 210)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 67%, 82%)
CMYKcmyk(40.5%, 66.7%, 0%, 17.6%)
CIE-LABlab(43.35, 52.46, -63.77)
CIE-LCHlch(43.35, 82.58, 309.44°)
OKLaboklab(53.46% 0.0925 -0.182)
OKLCHoklch(53.46% 0.204 296.9)
XYZxyz(22.2774, 13.3930, 62.3717)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46D2 #9BD246
analogous
#4655D2 #7D46D2 #C346D2
triadic
#7D46D2 #D27D46 #46D27D
tetradic
#7D46D2 #D24655 #9BD246 #46D2C3
square
#7D46D2 #D24655 #9BD246 #46D2C3
split-complementary
#7D46D2 #D2C346 #55D246
monochromatic
#451F7F #5F2BB0 #7D46D2 #A077DE #C2A8EA

Accessibility & contrast

On white

5.71
#7D46D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7D46D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46D2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46D2#FFFFFF#000000##FFFFFF
##7D46D21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#686786
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7d46d2;
/* rgb */ color: rgb(125, 70, 210);
/* oklch */ color: oklch(53.5% 0.204 296.9);
Tailwind
colors: {
  custom: {
    50: '#a97de1',
    500: '#7d46d2',
    950: '#000000',
  },
}
SCSS
$custom: #7d46d2;
$custom-light: #a97de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46d2",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 263.571,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53458,
    "c": 0.2042,
    "h": 296.9
  },
  "luminance": 0.13393
}

Semantic roles & 50–950 ramp

primary
#7D46D2
secondary
#C0D79C
accent
#E444A5
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7D46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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