#7145C6#7145C6

#7145C6 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.191 H 294.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7145C6
RGBrgb(113, 69, 198)
HSLhsl(260, 53%, 52%)
HSVhsv(260, 65%, 78%)
CMYKcmyk(42.9%, 65.2%, 0%, 22.4%)
CIE-LABlab(40.97, 47.47, -60.77)
CIE-LCHlch(40.97, 77.11, 307.99°)
OKLaboklab(51.17% 0.0786 -0.1736)
OKLCHoklch(51.17% 0.191 294.4)
XYZxyz(19.1285, 11.8437, 54.6934)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145C6 #9AC645
analogous
#455AC6 #7145C6 #B145C6
triadic
#7145C6 #C67145 #45C671
tetradic
#7145C6 #C6455A #9AC645 #45C6B1
square
#7145C6 #C6455A #9AC645 #45C6B1
split-complementary
#7145C6 #C6B145 #5AC645
monochromatic
#3C226F #56309E #7145C6 #9574D4 #B9A3E3

Accessibility & contrast

On white

6.23
#7145C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7145C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145C6
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145C6#FFFFFF#000000##FFFFFF
##7145C61.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#5A637F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7145c6;
/* rgb */ color: rgb(113, 69, 198);
/* oklch */ color: oklch(51.2% 0.191 294.4);
Tailwind
colors: {
  custom: {
    50: '#a07bd8',
    500: '#7145c6',
    950: '#000000',
  },
}
SCSS
$custom: #7145c6;
$custom-light: #a07bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7145c6",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 260.465,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.19053,
    "h": 294.4
  },
  "luminance": 0.11844
}

Semantic roles & 50–950 ramp

primary
#7145C6
secondary
#BCCF97
accent
#DC4BAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7145C6

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

Preview Lab → · Contrast checker → · Palette generator →

#7145C6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva