#7146CC#7146CC

#7146CC is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.196 H 293.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7146CC
RGBrgb(113, 70, 204)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(44.6%, 65.7%, 0%, 20%)
CIE-LABlab(41.61, 48.56, -63.20)
CIE-LCHlch(41.61, 79.70, 307.54°)
OKLaboklab(51.77% 0.0768 -0.1807)
OKLCHoklch(51.77% 0.196 293)
XYZxyz(19.8963, 12.2501, 58.4312)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146CC #A1CC46
analogous
#465ECC #7146CC #B446CC
triadic
#7146CC #CC7146 #46CC71
tetradic
#7146CC #CC465E #A1CC46 #46CCB4
square
#7146CC #CC465E #A1CC46 #46CCB4
split-complementary
#7146CC #CCB446 #5ECC46
monochromatic
#3C2177 #552EA7 #7146CC #9676D9 #BBA6E6

Accessibility & contrast

On white

6.09
#7146CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7146CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146CC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146CC#FFFFFF#000000##FFFFFF
##7146CC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#576683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7146cc;
/* rgb */ color: rgb(113, 70, 204);
/* oklch */ color: oklch(51.8% 0.196 293.0);
Tailwind
colors: {
  custom: {
    50: '#a17cdc',
    500: '#7146cc',
    950: '#000000',
  },
}
SCSS
$custom: #7146cc;
$custom-light: #a17cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7146cc",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 259.254,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.19637,
    "h": 293
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#7146CC
secondary
#C1D49A
accent
#E048AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7146CC

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

Preview Lab → · Contrast checker → · Palette generator →

#7146CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva