#7046CB#7046CB

#7046CB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.195 H 292.8°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7046CB
RGBrgb(112, 70, 203)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(44.8%, 65.5%, 0%, 20.4%)
CIE-LABlab(41.43, 48.09, -62.91)
CIE-LCHlch(41.43, 79.19, 307.39°)
OKLaboklab(51.59% 0.0756 -0.1799)
OKLCHoklch(51.59% 0.195 292.8)
XYZxyz(19.6488, 12.1363, 57.7956)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7046CB #A1CB46
analogous
#465ECB #7046CB #B246CB
triadic
#7046CB #CB7046 #46CB70
tetradic
#7046CB #CB465E #A1CB46 #46CBB2
square
#7046CB #CB465E #A1CB46 #46CBB2
split-complementary
#7046CB #CBB246 #5ECB46
monochromatic
#3C2176 #542EA5 #7046CB #9576D8 #BAA6E6

Accessibility & contrast

On white

6.13
#7046CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7046CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7046CB
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7046CB#FFFFFF#000000##FFFFFF
##7046CB1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#566682
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7046cb;
/* rgb */ color: rgb(112, 70, 203);
/* oklch */ color: oklch(51.6% 0.195 292.8);
Tailwind
colors: {
  custom: {
    50: '#a07cdc',
    500: '#7046cb',
    950: '#000000',
  },
}
SCSS
$custom: #7046cb;
$custom-light: #a07cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7046cb",
  "rgb": {
    "r": 112,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 258.947,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51594,
    "c": 0.19515,
    "h": 292.8
  },
  "luminance": 0.12137
}

Semantic roles & 50–950 ramp

primary
#7046CB
secondary
#C1D39A
accent
#DF48B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #7046CB

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

Preview Lab → · Contrast checker → · Palette generator →

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