#7F46D1#7F46D1

#7F46D1 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.203 H 298.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7F46D1
RGBrgb(127, 70, 209)
HSLhsl(265, 60%, 55%)
HSVhsv(265, 67%, 82%)
CMYKcmyk(39.2%, 66.5%, 0%, 18%)
CIE-LABlab(43.50, 52.60, -62.94)
CIE-LCHlch(43.50, 82.03, 309.88°)
OKLaboklab(53.59% 0.0954 -0.1795)
OKLCHoklch(53.59% 0.203 298)
XYZxyz(22.4482, 13.4955, 61.7314)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F46D1 #98D146
analogous
#4653D1 #7F46D1 #C446D1
triadic
#7F46D1 #D17F46 #46D17F
tetradic
#7F46D1 #D14653 #98D146 #46D1C4
square
#7F46D1 #D14653 #98D146 #46D1C4
split-complementary
#7F46D1 #D1C446 #53D146
monochromatic
#461F7D #612BAE #7F46D1 #A177DD #C3A8E9

Accessibility & contrast

On white

5.68
#7F46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7F46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F46D1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F46D1#FFFFFF#000000##FFFFFF
##7F46D11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#6B6786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f46d1;
/* rgb */ color: rgb(127, 70, 209);
/* oklch */ color: oklch(53.6% 0.203 298.0);
Tailwind
colors: {
  custom: {
    50: '#aa7de0',
    500: '#7f46d1',
    950: '#000000',
  },
}
SCSS
$custom: #7f46d1;
$custom-light: #aa7de0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f46d1",
  "rgb": {
    "r": 127,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 264.604,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.20329,
    "h": 298
  },
  "luminance": 0.13496
}

Semantic roles & 50–950 ramp

primary
#7F46D1
secondary
#BFD79C
accent
#E344A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F46D1

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

Preview Lab → · Contrast checker → · Palette generator →

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