#7046FD#7046FD

#7046FD is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.8% C 0.253 H 285.3°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#7046FD
RGBrgb(112, 70, 253)
HSLhsl(254, 98%, 63%)
HSVhsv(254, 72%, 99%)
CMYKcmyk(55.7%, 72.3%, 0%, 0.8%)
CIE-LABlab(45.52, 61.87, -84.63)
CIE-LCHlch(45.52, 104.84, 306.17°)
OKLaboklab(55.77% 0.0667 -0.2437)
OKLCHoklch(55.77% 0.253 285.3)
XYZxyz(26.5965, 14.9153, 94.3869)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046FD #D3FD46
analogous
#4678FD #7046FD #CB46FD
triadic
#7046FD #FD7046 #46FD70
tetradic
#7046FD #FD4678 #D3FD46 #46FDCB
square
#7046FD #FD4678 #D3FD46 #46FDCB
split-complementary
#7046FD #FDCB46 #78FD46
monochromatic
#2F02C6 #4109FC #7046FD #9F83FE #CEBFFE

Accessibility & contrast

On white

5.27
#7046FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7046FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046FD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046FD#FFFFFF#000000##FFFFFF
##7046FD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0066FA
Tritanopia (blue-blind)
#2A789E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7046fd;
/* rgb */ color: rgb(112, 70, 253);
/* oklch */ color: oklch(55.8% 0.253 285.3);
Tailwind
colors: {
  custom: {
    50: '#a77eff',
    500: '#7046fd',
    950: '#000000',
  },
}
SCSS
$custom: #7046fd;
$custom-light: #a77eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7046fd",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 253
  },
  "hsl": {
    "h": 253.77,
    "s": 97.861,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55768,
    "c": 0.25262,
    "h": 285.3
  },
  "luminance": 0.14917
}

Semantic roles & 50–950 ramp

primary
#7046FD
secondary
#E1F0AF
accent
#E600B1
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A18
muted
#807C86

Preview Lab

Preview with #7046FD

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

Preview Lab → · Contrast checker → · Palette generator →

#7046FD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva