#7046E0#7046E0

#7046E0 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.220 H 289.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7046E0
RGBrgb(112, 70, 224)
HSLhsl(256, 71%, 58%)
HSVhsv(256, 69%, 88%)
CMYKcmyk(50%, 68.8%, 0%, 12.2%)
CIE-LABlab(43.07, 53.87, -72.30)
CIE-LCHlch(43.07, 90.16, 306.69°)
OKLaboklab(53.28% 0.0725 -0.2075)
OKLCHoklch(53.28% 0.22 289.2)
XYZxyz(22.3229, 13.2059, 71.8793)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046E0 #B6E046
analogous
#4669E0 #7046E0 #BD46E0
triadic
#7046E0 #E07046 #46E070
tetradic
#7046E0 #E04669 #B6E046 #46E0BD
square
#7046E0 #E04669 #B6E046 #46E0BD
split-complementary
#7046E0 #E0BD46 #69E046
monochromatic
#3A1993 #4F21C7 #7046E0 #997AE9 #C1AFF2

Accessibility & contrast

On white

5.77
#7046E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7046E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046E0
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046E0#FFFFFF#000000##FFFFFF
##7046E01.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E5
Deuteranopia (green-blind)
#0062DD
Tritanopia (blue-blind)
#486D8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7046e0;
/* rgb */ color: rgb(112, 70, 224);
/* oklch */ color: oklch(53.3% 0.220 289.2);
Tailwind
colors: {
  custom: {
    50: '#a37deb',
    500: '#7046e0',
    950: '#000000',
  },
}
SCSS
$custom: #7046e0;
$custom-light: #a37deb;
$custom-dark: #000000;
JSON
{
  "hex": "#7046e0",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 224
  },
  "hsl": {
    "h": 256.364,
    "s": 71.296,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53281,
    "c": 0.21979,
    "h": 289.2
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#7046E0
secondary
#CFE0A2
accent
#EE3ABD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7046E0

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

Preview Lab → · Contrast checker → · Palette generator →

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