#7F46D4#7F46D4

#7F46D4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.8% C 0.207 H 297.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7F46D4
RGBrgb(127, 70, 212)
HSLhsl(264, 62%, 55%)
HSVhsv(264, 67%, 83%)
CMYKcmyk(40.1%, 67%, 0%, 16.9%)
CIE-LABlab(43.72, 53.36, -64.31)
CIE-LCHlch(43.72, 83.57, 309.68°)
OKLaboklab(53.82% 0.095 -0.1835)
OKLCHoklch(53.82% 0.207 297.4)
XYZxyz(22.8232, 13.6454, 63.7060)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F46D4 #9BD446
analogous
#4654D4 #7F46D4 #C646D4
triadic
#7F46D4 #D47F46 #46D47F
tetradic
#7F46D4 #D44654 #9BD446 #46D4C6
square
#7F46D4 #D44654 #9BD446 #46D4C6
split-complementary
#7F46D4 #D4C646 #54D446
monochromatic
#461E81 #612AB3 #7F46D4 #A178E0 #C4A9EB

Accessibility & contrast

On white

5.63
#7F46D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7F46D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F46D4
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F46D4#FFFFFF#000000##FFFFFF
##7F46D41.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D8
Deuteranopia (green-blind)
#0066D1
Tritanopia (blue-blind)
#6A6887
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f46d4;
/* rgb */ color: rgb(127, 70, 212);
/* oklch */ color: oklch(53.8% 0.207 297.4);
Tailwind
colors: {
  custom: {
    50: '#aa7de2',
    500: '#7f46d4',
    950: '#000000',
  },
}
SCSS
$custom: #7f46d4;
$custom-light: #aa7de2;
$custom-dark: #000000;
JSON
{
  "hex": "#7f46d4",
  "rgb": {
    "r": 127,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 264.085,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.20667,
    "h": 297.4
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#7F46D4
secondary
#C1D99D
accent
#E542A4
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A15
muted
#807C84

Preview Lab

Preview with #7F46D4

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

Preview Lab → · Contrast checker → · Palette generator →

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