#7146D3#7146D3

#7146D3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.3% C 0.205 H 291.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7146D3
RGBrgb(113, 70, 211)
HSLhsl(258, 62%, 55%)
HSVhsv(258, 67%, 83%)
CMYKcmyk(46.4%, 66.8%, 0%, 17.3%)
CIE-LABlab(42.14, 50.47, -66.37)
CIE-LCHlch(42.14, 83.38, 307.25°)
OKLaboklab(52.32% 0.0759 -0.19)
OKLCHoklch(52.32% 0.205 291.8)
XYZxyz(20.7548, 12.5935, 62.9526)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146D3 #A8D346
analogous
#4661D3 #7146D3 #B846D3
triadic
#7146D3 #D37146 #46D371
tetradic
#7146D3 #D34661 #A8D346 #46D3B8
square
#7146D3 #D34661 #A8D346 #46D3B8
split-complementary
#7146D3 #D3B846 #61D346
monochromatic
#3C1E80 #542AB2 #7146D3 #9777DF #BDA9EB

Accessibility & contrast

On white

5.97
#7146D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7146D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146D3
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146D3#FFFFFF#000000##FFFFFF
##7146D31.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#536987
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7146d3;
/* rgb */ color: rgb(113, 70, 211);
/* oklch */ color: oklch(52.3% 0.205 291.8);
Tailwind
colors: {
  custom: {
    50: '#a27ce1',
    500: '#7146d3',
    950: '#000000',
  },
}
SCSS
$custom: #7146d3;
$custom-light: #a27ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#7146d3",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 258.298,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.52321,
    "c": 0.20464,
    "h": 291.8
  },
  "luminance": 0.12594
}

Semantic roles & 50–950 ramp

primary
#7146D3
secondary
#C6D89D
accent
#E543B3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7146D3

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

Preview Lab → · Contrast checker → · Palette generator →

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