#7146CA#7146CA

#7146CA is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.194 H 293.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7146CA
RGBrgb(113, 70, 202)
HSLhsl(260, 55%, 53%)
HSVhsv(260, 65%, 79%)
CMYKcmyk(44.1%, 65.3%, 0%, 20.8%)
CIE-LABlab(41.46, 48.01, -62.28)
CIE-LCHlch(41.46, 78.64, 307.63°)
OKLaboklab(51.62% 0.077 -0.178)
OKLCHoklch(51.62% 0.194 293.4)
XYZxyz(19.6580, 12.1547, 57.1760)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146CA #9FCA46
analogous
#465DCA #7146CA #B346CA
triadic
#7146CA #CA7146 #46CA71
tetradic
#7146CA #CA465D #9FCA46 #46CAB3
square
#7146CA #CA465D #9FCA46 #46CAB3
split-complementary
#7146CA #CAB346 #5DCA46
monochromatic
#3C2174 #552FA4 #7146CA #9676D8 #BAA5E5

Accessibility & contrast

On white

6.12
#7146CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7146CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146CA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146CA#FFFFFF#000000##FFFFFF
##7146CA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7146ca;
/* rgb */ color: rgb(113, 70, 202);
/* oklch */ color: oklch(51.6% 0.194 293.4);
Tailwind
colors: {
  custom: {
    50: '#a17cdb',
    500: '#7146ca',
    950: '#000000',
  },
}
SCSS
$custom: #7146ca;
$custom-light: #a17cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7146ca",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 202
  },
  "hsl": {
    "h": 259.545,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51615,
    "c": 0.194,
    "h": 293.4
  },
  "luminance": 0.12155
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7146CA

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

Preview Lab → · Contrast checker → · Palette generator →

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