#7145C7#7145C7

#7145C7 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.2% C 0.192 H 294.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7145C7
RGBrgb(113, 69, 199)
HSLhsl(260, 54%, 53%)
HSVhsv(260, 65%, 78%)
CMYKcmyk(43.2%, 65.3%, 0%, 22%)
CIE-LABlab(41.04, 47.74, -61.23)
CIE-LCHlch(41.04, 77.64, 307.94°)
OKLaboklab(51.24% 0.0785 -0.1749)
OKLCHoklch(51.24% 0.192 294.2)
XYZxyz(19.2442, 11.8900, 55.3028)
Luminance0.1189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145C7 #9BC745
analogous
#455AC7 #7145C7 #B245C7
triadic
#7145C7 #C77145 #45C771
tetradic
#7145C7 #C7455A #9BC745 #45C7B2
square
#7145C7 #C7455A #9BC745 #45C7B2
split-complementary
#7145C7 #C7B245 #5AC745
monochromatic
#3C2270 #55309F #7145C7 #9574D5 #B9A3E3

Accessibility & contrast

On white

6.22
#7145C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7145C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145C7
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145C7#FFFFFF#000000##FFFFFF
##7145C71.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#005FC4
Tritanopia (blue-blind)
#596480
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7145c7;
/* rgb */ color: rgb(113, 69, 199);
/* oklch */ color: oklch(51.2% 0.192 294.2);
Tailwind
colors: {
  custom: {
    50: '#a07bd9',
    500: '#7145c7',
    950: '#000000',
  },
}
SCSS
$custom: #7145c7;
$custom-light: #a07bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#7145c7",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 260.308,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.19172,
    "h": 294.2
  },
  "luminance": 0.1189
}

Semantic roles & 50–950 ramp

primary
#7145C7
secondary
#BDD098
accent
#DD4BAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7145C7

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

Preview Lab → · Contrast checker → · Palette generator →

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