#7F46DD#7F46DD

#7F46DD is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.5% C 0.217 H 295.6°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#7F46DD
RGBrgb(127, 70, 221)
HSLhsl(263, 69%, 57%)
HSVhsv(263, 68%, 87%)
CMYKcmyk(42.5%, 68.3%, 0%, 13.3%)
CIE-LABlab(44.39, 55.67, -68.37)
CIE-LCHlch(44.39, 88.17, 309.16°)
OKLaboklab(54.51% 0.0937 -0.1955)
OKLCHoklch(54.51% 0.217 295.6)
XYZxyz(23.9902, 14.1122, 69.8526)
Luminance0.1411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F46DD #A4DD46
analogous
#4659DD #7F46DD #CB46DD
triadic
#7F46DD #DD7F46 #46DD7F
tetradic
#7F46DD #DD4659 #A4DD46 #46DDCB
square
#7F46DD #DD4659 #A4DD46 #46DDCB
split-complementary
#7F46DD #DDCB46 #59DD46
monochromatic
#461A8E #5F24C2 #7F46DD #A37AE7 #C7ADF0

Accessibility & contrast

On white

5.49
#7F46DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7F46DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F46DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F46DD#FFFFFF#000000##FFFFFF
##7F46DD1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#666B8C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7f46dd;
/* rgb */ color: rgb(127, 70, 221);
/* oklch */ color: oklch(54.5% 0.217 295.6);
Tailwind
colors: {
  custom: {
    50: '#ab7de9',
    500: '#7f46dd',
    950: '#000000',
  },
}
SCSS
$custom: #7f46dd;
$custom-light: #ab7de9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f46dd",
  "rgb": {
    "r": 127,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 262.649,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54513,
    "c": 0.21675,
    "h": 295.6
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#7F46DD
secondary
#C7DEA1
accent
#EC3CA9
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F46DD

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

Preview Lab → · Contrast checker → · Palette generator →

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