#7F46D2#7F46D2

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

Color values

HEX#7F46D2
RGBrgb(127, 70, 210)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 67%, 82%)
CMYKcmyk(39.5%, 66.7%, 0%, 17.6%)
CIE-LABlab(43.57, 52.85, -63.40)
CIE-LCHlch(43.57, 82.54, 309.82°)
OKLaboklab(53.67% 0.0953 -0.1809)
OKLCHoklch(53.67% 0.204 297.8)
XYZxyz(22.5724, 13.5451, 62.3855)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F46D2 #99D246
analogous
#4653D2 #7F46D2 #C546D2
triadic
#7F46D2 #D27F46 #46D27F
tetradic
#7F46D2 #D24653 #99D246 #46D2C5
square
#7F46D2 #D24653 #99D246 #46D2C5
split-complementary
#7F46D2 #D2C546 #53D246
monochromatic
#461F7F #612BB0 #7F46D2 #A177DE #C3A8EA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7F46D2#FFFFFF#000000##FFFFFF
##7F46D21.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)
#0067D6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#6B6786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f46d2;
/* rgb */ color: rgb(127, 70, 210);
/* oklch */ color: oklch(53.7% 0.204 297.8);
Tailwind
colors: {
  custom: {
    50: '#aa7de1',
    500: '#7f46d2',
    950: '#000000',
  },
}
SCSS
$custom: #7f46d2;
$custom-light: #aa7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f46d2",
  "rgb": {
    "r": 127,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 264.429,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53669,
    "c": 0.20442,
    "h": 297.8
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#7F46D2
secondary
#BFD79C
accent
#E444A3
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F46D2

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

Preview Lab → · Contrast checker → · Palette generator →

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