#7146BC#7146BC

#7146BC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.6% C 0.177 H 296.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7146BC
RGBrgb(113, 70, 188)
HSLhsl(262, 47%, 51%)
HSVhsv(262, 63%, 74%)
CMYKcmyk(39.9%, 62.8%, 0%, 26.3%)
CIE-LABlab(40.45, 44.23, -55.78)
CIE-LCHlch(40.45, 71.19, 308.41°)
OKLaboklab(50.56% 0.0784 -0.1589)
OKLCHoklch(50.56% 0.177 296.3)
XYZxyz(18.0750, 11.5215, 48.8388)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146BC #91BC46
analogous
#4656BC #7146BC #AC46BC
triadic
#7146BC #BC7146 #46BC71
tetradic
#7146BC #BC4656 #91BC46 #46BCAC
square
#7146BC #BC4656 #91BC46 #46BCAC
split-complementary
#7146BC #BCAC46 #56BC46
monochromatic
#3B2464 #563490 #7146BC #9373CC #B6A0DD

Accessibility & contrast

On white

6.36
#7146BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7146BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146BC
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146BC#FFFFFF#000000##FFFFFF
##7146BC1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#005EB9
Tritanopia (blue-blind)
#5E617A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7146bc;
/* rgb */ color: rgb(113, 70, 188);
/* oklch */ color: oklch(50.6% 0.177 296.3);
Tailwind
colors: {
  custom: {
    50: '#9f7cd1',
    500: '#7146bc',
    950: '#000000',
  },
}
SCSS
$custom: #7146bc;
$custom-light: #9f7cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7146bc",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 261.864,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5056,
    "c": 0.17719,
    "h": 296.3
  },
  "luminance": 0.11522
}

Semantic roles & 50–950 ramp

primary
#7146BC
secondary
#B6C995
accent
#D651A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7146BC

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

Preview Lab → · Contrast checker → · Palette generator →

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