#7146CB#7146CB

#7146CB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.195 H 293.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7146CB
RGBrgb(113, 70, 203)
HSLhsl(259, 56%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(44.3%, 65.5%, 0%, 20.4%)
CIE-LABlab(41.54, 48.29, -62.74)
CIE-LCHlch(41.54, 79.17, 307.58°)
OKLaboklab(51.69% 0.0769 -0.1794)
OKLCHoklch(51.69% 0.195 293.2)
XYZxyz(19.7768, 12.2022, 57.8016)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7146CB #A0CB46
analogous
#465DCB #7146CB #B346CB
triadic
#7146CB #CB7146 #46CB71
tetradic
#7146CB #CB465D #A0CB46 #46CBB3
square
#7146CB #CB465D #A0CB46 #46CBB3
split-complementary
#7146CB #CBB346 #5DCB46
monochromatic
#3C2176 #552EA5 #7146CB #9676D8 #BAA6E6

Accessibility & contrast

On white

6.10
#7146CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7146CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7146CB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7146CB#FFFFFF#000000##FFFFFF
##7146CB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#576682
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7146cb;
/* rgb */ color: rgb(113, 70, 203);
/* oklch */ color: oklch(51.7% 0.195 293.2);
Tailwind
colors: {
  custom: {
    50: '#a17cdc',
    500: '#7146cb',
    950: '#000000',
  },
}
SCSS
$custom: #7146cb;
$custom-light: #a17cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7146cb",
  "rgb": {
    "r": 113,
    "g": 70,
    "b": 203
  },
  "hsl": {
    "h": 259.398,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51693,
    "c": 0.19519,
    "h": 293.2
  },
  "luminance": 0.12203
}

Semantic roles & 50–950 ramp

primary
#7146CB
secondary
#C0D39A
accent
#DF48AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7146CB

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

Preview Lab → · Contrast checker → · Palette generator →

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