#7145B7#7145B7

#7145B7 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.0% C 0.173 H 297.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7145B7
RGBrgb(113, 69, 183)
HSLhsl(263, 45%, 49%)
HSVhsv(263, 62%, 72%)
CMYKcmyk(38.3%, 62.3%, 0%, 28.2%)
CIE-LABlab(39.89, 43.45, -53.74)
CIE-LCHlch(39.89, 69.10, 308.96°)
OKLaboklab(50.05% 0.0799 -0.1529)
OKLCHoklch(50.05% 0.173 297.6)
XYZxyz(17.4832, 11.1856, 46.0285)
Luminance0.1119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145B7 #8BB745
analogous
#4552B7 #7145B7 #AA45B7
triadic
#7145B7 #B77145 #45B771
tetradic
#7145B7 #B74552 #8BB745 #45B7AA
square
#7145B7 #B74552 #8BB745 #45B7AA
split-complementary
#7145B7 #B7AA45 #52B745
monochromatic
#3A235E #56348B #7145B7 #9270C9 #B49DDA

Accessibility & contrast

On white

6.49
#7145B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7145B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145B7
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145B7#FFFFFF#000000##FFFFFF
##7145B71.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0D5DB5
Tritanopia (blue-blind)
#605E77
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7145b7;
/* rgb */ color: rgb(113, 69, 183);
/* oklch */ color: oklch(50.0% 0.173 297.6);
Tailwind
colors: {
  custom: {
    50: '#9f7bcd',
    500: '#7145b7',
    950: '#000000',
  },
}
SCSS
$custom: #7145b7;
$custom-light: #9f7bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7145b7",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 183
  },
  "hsl": {
    "h": 263.158,
    "s": 45.238,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50047,
    "c": 0.17252,
    "h": 297.6
  },
  "luminance": 0.11186
}

Semantic roles & 50–950 ramp

primary
#7145B7
secondary
#B2C692
accent
#D553A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7145B7

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

Preview Lab → · Contrast checker → · Palette generator →

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