#7D46D5#7D46D5

#7D46D5 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.7% C 0.208 H 296.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7D46D5
RGBrgb(125, 70, 213)
HSLhsl(263, 63%, 55%)
HSVhsv(263, 67%, 84%)
CMYKcmyk(41.3%, 67.1%, 0%, 16.5%)
CIE-LABlab(43.57, 53.24, -65.14)
CIE-LCHlch(43.57, 84.12, 309.26°)
OKLaboklab(53.69% 0.0921 -0.186)
OKLCHoklch(53.69% 0.208 296.3)
XYZxyz(22.6547, 13.5439, 64.3585)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D46D5 #9ED546
analogous
#4656D5 #7D46D5 #C546D5
triadic
#7D46D5 #D57D46 #46D57D
tetradic
#7D46D5 #D54656 #9ED546 #46D5C5
square
#7D46D5 #D54656 #9ED546 #46D5C5
split-complementary
#7D46D5 #D5C546 #56D546
monochromatic
#451E83 #5F29B5 #7D46D5 #A078E0 #C3AAEC

Accessibility & contrast

On white

5.66
#7D46D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7D46D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D46D5
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D46D5#FFFFFF#000000##FFFFFF
##7D46D51.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D9
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#666888
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7d46d5;
/* rgb */ color: rgb(125, 70, 213);
/* oklch */ color: oklch(53.7% 0.208 296.3);
Tailwind
colors: {
  custom: {
    50: '#a97de3',
    500: '#7d46d5',
    950: '#000000',
  },
}
SCSS
$custom: #7d46d5;
$custom-light: #a97de3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d46d5",
  "rgb": {
    "r": 125,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 263.077,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.20759,
    "h": 296.3
  },
  "luminance": 0.13544
}

Semantic roles & 50–950 ramp

primary
#7D46D5
secondary
#C2D99E
accent
#E642A7
background
#FAF7FE
surface
#F5EEFC
border
#CFC9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7D46D5

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

Preview Lab → · Contrast checker → · Palette generator →

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