#7046CF#7046CF

#7046CF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.9% C 0.200 H 292.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7046CF
RGBrgb(112, 70, 207)
HSLhsl(258, 59%, 54%)
HSVhsv(258, 66%, 81%)
CMYKcmyk(45.9%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.73, 49.19, -64.73)
CIE-LCHlch(41.73, 81.30, 307.23°)
OKLaboklab(51.91% 0.0751 -0.1853)
OKLCHoklch(51.91% 0.2 292.1)
XYZxyz(20.1316, 12.3294, 60.3385)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046CF #A5CF46
analogous
#4661CF #7046CF #B446CF
triadic
#7046CF #CF7046 #46CF70
tetradic
#7046CF #CF4661 #A5CF46 #46CFB4
square
#7046CF #CF4661 #A5CF46 #46CFB4
split-complementary
#7046CF #CFB446 #61CF46
monochromatic
#3C207B #532CAB #7046CF #9677DC #BBA7E8

Accessibility & contrast

On white

6.06
#7046CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7046CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046CF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046CF#FFFFFF#000000##FFFFFF
##7046CF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#536785
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7046cf;
/* rgb */ color: rgb(112, 70, 207);
/* oklch */ color: oklch(51.9% 0.200 292.1);
Tailwind
colors: {
  custom: {
    50: '#a07cdf',
    500: '#7046cf',
    950: '#000000',
  },
}
SCSS
$custom: #7046cf;
$custom-light: #a07cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7046cf",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 258.394,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.1999,
    "h": 292.1
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#7046CF
secondary
#C4D59B
accent
#E246B2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7046CF

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

Preview Lab → · Contrast checker → · Palette generator →

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