#7F46D3#7F46D3

#7F46D3 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.206 H 297.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7F46D3
RGBrgb(127, 70, 211)
HSLhsl(264, 62%, 55%)
HSVhsv(264, 67%, 83%)
CMYKcmyk(39.8%, 66.8%, 0%, 17.3%)
CIE-LABlab(43.65, 53.11, -63.86)
CIE-LCHlch(43.65, 83.06, 309.75°)
OKLaboklab(53.74% 0.0951 -0.1822)
OKLCHoklch(53.74% 0.206 297.6)
XYZxyz(22.6974, 13.5951, 63.0437)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F46D3 #9AD346
analogous
#4654D3 #7F46D3 #C546D3
triadic
#7F46D3 #D37F46 #46D37F
tetradic
#7F46D3 #D34654 #9AD346 #46D3C5
square
#7F46D3 #D34654 #9AD346 #46D3C5
split-complementary
#7F46D3 #D3C546 #54D346
monochromatic
#461E80 #612AB2 #7F46D3 #A177DF #C3A9EB

Accessibility & contrast

On white

5.65
#7F46D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7F46D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F46D3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F46D3#FFFFFF#000000##FFFFFF
##7F46D31.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#6A6787
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f46d3;
/* rgb */ color: rgb(127, 70, 211);
/* oklch */ color: oklch(53.7% 0.206 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa7de1',
    500: '#7f46d3',
    950: '#000000',
  },
}
SCSS
$custom: #7f46d3;
$custom-light: #aa7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f46d3",
  "rgb": {
    "r": 127,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 264.255,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53744,
    "c": 0.20554,
    "h": 297.6
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#7F46D3
secondary
#C0D89D
accent
#E543A3
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F46D3

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

Preview Lab → · Contrast checker → · Palette generator →

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