#7146CD#7146CD

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

Color values

HEX#7146CD
RGBrgb(113, 70, 205)
HSLhsl(259, 57%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(44.9%, 65.9%, 0%, 19.6%)
CIE-LABlab(41.69, 48.83, -63.65)
CIE-LCHlch(41.69, 80.23, 307.49°)
OKLaboklab(51.85% 0.0767 -0.1821)
OKLCHoklch(51.85% 0.198 292.8)
XYZxyz(20.0166, 12.2982, 59.0649)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146CD #A2CD46
analogous
#465FCD #7146CD #B546CD
triadic
#7146CD #CD7146 #46CD71
tetradic
#7146CD #CD465F #A2CD46 #46CDB5
square
#7146CD #CD465F #A2CD46 #46CDB5
split-complementary
#7146CD #CDB546 #5FCD46
monochromatic
#3C2078 #552DA8 #7146CD #9676DA #BBA6E7

Accessibility & contrast

On white

6.07
#7146CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#7146CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146CD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146CD#FFFFFF#000000##FFFFFF
##7146CD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#566683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7146cd;
/* rgb */ color: rgb(113, 70, 205);
/* oklch */ color: oklch(51.8% 0.198 292.8);
Tailwind
colors: {
  custom: {
    50: '#a17cdd',
    500: '#7146cd',
    950: '#000000',
  },
}
SCSS
$custom: #7146cd;
$custom-light: #a17cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7146cd",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 205
  },
  "hsl": {
    "h": 259.111,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.19756,
    "h": 292.8
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#7146CD
secondary
#C2D49B
accent
#E147B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7146CD

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

Preview Lab → · Contrast checker → · Palette generator →

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