#7046FC#7046FC

#7046FC is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.7% C 0.252 H 285.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#7046FC
RGBrgb(112, 70, 252)
HSLhsl(254, 97%, 63%)
HSVhsv(254, 72%, 99%)
CMYKcmyk(55.6%, 72.2%, 0%, 1.2%)
CIE-LABlab(45.43, 61.60, -84.22)
CIE-LCHlch(45.43, 104.34, 306.18°)
OKLaboklab(55.68% 0.0669 -0.2424)
OKLCHoklch(55.68% 0.252 285.4)
XYZxyz(26.4376, 14.8518, 93.5502)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046FC #D2FC46
analogous
#4677FC #7046FC #CB46FC
triadic
#7046FC #FC7046 #46FC70
tetradic
#7046FC #FC4677 #D2FC46 #46FCCB
square
#7046FC #FC4677 #D2FC46 #46FCCB
split-complementary
#7046FC #FCCB46 #77FC46
monochromatic
#3003C4 #410AFB #7046FC #9F82FD #CDBEFE

Accessibility & contrast

On white

5.29
#7046FC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#7046FC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046FC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046FC#FFFFFF#000000##FFFFFF
##7046FC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070FF
Deuteranopia (green-blind)
#0066F9
Tritanopia (blue-blind)
#2C789D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7046fc;
/* rgb */ color: rgb(112, 70, 252);
/* oklch */ color: oklch(55.7% 0.252 285.4);
Tailwind
colors: {
  custom: {
    50: '#a67eff',
    500: '#7046fc',
    950: '#000000',
  },
}
SCSS
$custom: #7046fc;
$custom-light: #a67eff;
$custom-dark: #000000;
JSON
{
  "hex": "#7046fc",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 252
  },
  "hsl": {
    "h": 253.846,
    "s": 96.809,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5568,
    "c": 0.25151,
    "h": 285.4
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7046FC

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

Preview Lab → · Contrast checker → · Palette generator →

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