#7D46D3#7D46D3

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

Color values

HEX#7D46D3
RGBrgb(125, 70, 211)
HSLhsl(263, 62%, 55%)
HSVhsv(263, 67%, 83%)
CMYKcmyk(40.8%, 66.8%, 0%, 17.3%)
CIE-LABlab(43.42, 52.72, -64.23)
CIE-LCHlch(43.42, 83.10, 309.38°)
OKLaboklab(53.53% 0.0924 -0.1834)
OKLCHoklch(53.53% 0.205 296.7)
XYZxyz(22.4024, 13.4430, 63.0298)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46D3 #9CD346
analogous
#4656D3 #7D46D3 #C346D3
triadic
#7D46D3 #D37D46 #46D37D
tetradic
#7D46D3 #D34656 #9CD346 #46D3C3
square
#7D46D3 #D34656 #9CD346 #46D3C3
split-complementary
#7D46D3 #D3C346 #56D346
monochromatic
#451E80 #5F2AB2 #7D46D3 #A077DF #C2A9EB

Accessibility & contrast

On white

5.69
#7D46D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7D46D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46D3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46D3#FFFFFF#000000##FFFFFF
##7D46D31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D7
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#676887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d46d3;
/* rgb */ color: rgb(125, 70, 211);
/* oklch */ color: oklch(53.5% 0.205 296.7);
Tailwind
colors: {
  custom: {
    50: '#a97de1',
    500: '#7d46d3',
    950: '#000000',
  },
}
SCSS
$custom: #7d46d3;
$custom-light: #a97de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46d3",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 263.404,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53534,
    "c": 0.20533,
    "h": 296.7
  },
  "luminance": 0.13443
}

Semantic roles & 50–950 ramp

primary
#7D46D3
secondary
#C1D89D
accent
#E543A6
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7D46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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