#7145C5#7145C5

#7145C5 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.189 H 294.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#7145C5
RGBrgb(113, 69, 197)
HSLhsl(261, 52%, 52%)
HSVhsv(261, 65%, 77%)
CMYKcmyk(42.6%, 65%, 0%, 22.7%)
CIE-LABlab(40.89, 47.20, -60.30)
CIE-LCHlch(40.89, 76.58, 308.05°)
OKLaboklab(51.09% 0.0787 -0.1722)
OKLCHoklch(51.09% 0.189 294.6)
XYZxyz(19.0135, 11.7977, 54.0879)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145C5 #99C545
analogous
#4559C5 #7145C5 #B145C5
triadic
#7145C5 #C57145 #45C571
tetradic
#7145C5 #C54559 #99C545 #45C5B1
square
#7145C5 #C54559 #99C545 #45C5B1
split-complementary
#7145C5 #C5B145 #59C545
monochromatic
#3C226D #56319C #7145C5 #9574D4 #B8A2E2

Accessibility & contrast

On white

6.25
#7145C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7145C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145C5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145C5#FFFFFF#000000##FFFFFF
##7145C51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#5A637F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7145c5;
/* rgb */ color: rgb(113, 69, 197);
/* oklch */ color: oklch(51.1% 0.189 294.6);
Tailwind
colors: {
  custom: {
    50: '#a07bd7',
    500: '#7145c5',
    950: '#000000',
  },
}
SCSS
$custom: #7145c5;
$custom-light: #a07bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7145c5",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 260.625,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.18934,
    "h": 294.6
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#7145C5
secondary
#BCCF97
accent
#DC4CAA
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7145C5

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

Preview Lab → · Contrast checker → · Palette generator →

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