#7046CA#7046CA

#7046CA is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.5% C 0.194 H 293.0°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7046CA
RGBrgb(112, 70, 202)
HSLhsl(259, 55%, 53%)
HSVhsv(259, 65%, 79%)
CMYKcmyk(44.6%, 65.3%, 0%, 20.8%)
CIE-LABlab(41.36, 47.82, -62.46)
CIE-LCHlch(41.36, 78.66, 307.44°)
OKLaboklab(51.52% 0.0757 -0.1786)
OKLCHoklch(51.52% 0.194 293)
XYZxyz(19.5300, 12.0887, 57.1700)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046CA #A0CA46
analogous
#465ECA #7046CA #B246CA
triadic
#7046CA #CA7046 #46CA70
tetradic
#7046CA #CA465E #A0CA46 #46CAB2
square
#7046CA #CA465E #A0CA46 #46CAB2
split-complementary
#7046CA #CAB246 #5ECA46
monochromatic
#3C2174 #542FA4 #7046CA #9576D8 #BAA5E5

Accessibility & contrast

On white

6.14
#7046CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7046CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046CA
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046CA#FFFFFF#000000##FFFFFF
##7046CA1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#566582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7046ca;
/* rgb */ color: rgb(112, 70, 202);
/* oklch */ color: oklch(51.5% 0.194 293.0);
Tailwind
colors: {
  custom: {
    50: '#a07cdb',
    500: '#7046ca',
    950: '#000000',
  },
}
SCSS
$custom: #7046ca;
$custom-light: #a07cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7046ca",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 259.091,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51516,
    "c": 0.19396,
    "h": 293
  },
  "luminance": 0.12089
}

Semantic roles & 50–950 ramp

primary
#7046CA
secondary
#C0D29A
accent
#DF49AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7046CA

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

Preview Lab → · Contrast checker → · Palette generator →

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