#7146CF#7146CF

#7146CF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.200 H 292.5°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7146CF
RGBrgb(113, 70, 207)
HSLhsl(259, 59%, 54%)
HSVhsv(259, 66%, 81%)
CMYKcmyk(45.4%, 66.2%, 0%, 18.8%)
CIE-LABlab(41.84, 49.38, -64.56)
CIE-LCHlch(41.84, 81.28, 307.41°)
OKLaboklab(52.01% 0.0764 -0.1847)
OKLCHoklch(52.01% 0.2 292.5)
XYZxyz(20.2596, 12.3954, 60.3445)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146CF #A4CF46
analogous
#4660CF #7146CF #B546CF
triadic
#7146CF #CF7146 #46CF71
tetradic
#7146CF #CF4660 #A4CF46 #46CFB5
square
#7146CF #CF4660 #A4CF46 #46CFB5
split-complementary
#7146CF #CFB546 #60CF46
monochromatic
#3C207B #542CAB #7146CF #9677DC #BCA7E8

Accessibility & contrast

On white

6.04
#7146CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7146CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146CF
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146CF#FFFFFF#000000##FFFFFF
##7146CF1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#556785
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7146cf;
/* rgb */ color: rgb(113, 70, 207);
/* oklch */ color: oklch(52.0% 0.200 292.5);
Tailwind
colors: {
  custom: {
    50: '#a17cdf',
    500: '#7146cf',
    950: '#000000',
  },
}
SCSS
$custom: #7146cf;
$custom-light: #a17cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7146cf",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 258.832,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.19993,
    "h": 292.5
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#7146CF
secondary
#C3D59B
accent
#E246B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7146CF

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

Preview Lab → · Contrast checker → · Palette generator →

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