#7F46D0#7F46D0

#7F46D0 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.202 H 298.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#7F46D0
RGBrgb(127, 70, 208)
HSLhsl(265, 59%, 55%)
HSVhsv(265, 66%, 82%)
CMYKcmyk(38.9%, 66.3%, 0%, 18.4%)
CIE-LABlab(43.43, 52.34, -62.49)
CIE-LCHlch(43.43, 81.51, 309.95°)
OKLaboklab(53.52% 0.0955 -0.1782)
OKLCHoklch(53.52% 0.202 298.2)
XYZxyz(22.3248, 13.4461, 61.0814)
Luminance0.1345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F46D0 #97D046
analogous
#4652D0 #7F46D0 #C446D0
triadic
#7F46D0 #D07F46 #46D07F
tetradic
#7F46D0 #D04652 #97D046 #46D0C4
square
#7F46D0 #D04652 #97D046 #46D0C4
split-complementary
#7F46D0 #D0C446 #52D046
monochromatic
#46207C #612CAD #7F46D0 #A177DC #C3A8E9

Accessibility & contrast

On white

5.69
#7F46D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7F46D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F46D0
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F46D0#FFFFFF#000000##FFFFFF
##7F46D01.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#6C6685
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f46d0;
/* rgb */ color: rgb(127, 70, 208);
/* oklch */ color: oklch(53.5% 0.202 298.2);
Tailwind
colors: {
  custom: {
    50: '#aa7ddf',
    500: '#7f46d0',
    950: '#000000',
  },
}
SCSS
$custom: #7f46d0;
$custom-light: #aa7ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f46d0",
  "rgb": {
    "r": 127,
    "g": 70,
    "b": 208
  },
  "hsl": {
    "h": 264.783,
    "s": 59.483,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53519,
    "c": 0.20216,
    "h": 298.2
  },
  "luminance": 0.13446
}

Semantic roles & 50–950 ramp

primary
#7F46D0
secondary
#BED69C
accent
#E345A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F46D0

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

Preview Lab → · Contrast checker → · Palette generator →

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