#7145BA#7145BA

#7145BA is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.3% C 0.176 H 296.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7145BA
RGBrgb(113, 69, 186)
HSLhsl(263, 46%, 50%)
HSVhsv(263, 63%, 73%)
CMYKcmyk(39.2%, 62.9%, 0%, 27.1%)
CIE-LABlab(40.10, 44.24, -55.16)
CIE-LCHlch(40.10, 70.71, 308.73°)
OKLaboklab(50.27% 0.0797 -0.1571)
OKLCHoklch(50.27% 0.176 296.9)
XYZxyz(17.7988, 11.3118, 47.6905)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145BA #8EBA45
analogous
#4554BA #7145BA #AB45BA
triadic
#7145BA #BA7145 #45BA71
tetradic
#7145BA #BA4554 #8EBA45 #45BAAB
square
#7145BA #BA4554 #8EBA45 #45BAAB
split-complementary
#7145BA #BAAB45 #54BA45
monochromatic
#3B2461 #56348D #7145BA #9372CB #B59EDB

Accessibility & contrast

On white

6.44
#7145BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7145BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145BA
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145BA#FFFFFF#000000##FFFFFF
##7145BA1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#5F5F79
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7145ba;
/* rgb */ color: rgb(113, 69, 186);
/* oklch */ color: oklch(50.3% 0.176 296.9);
Tailwind
colors: {
  custom: {
    50: '#9f7bcf',
    500: '#7145ba',
    950: '#000000',
  },
}
SCSS
$custom: #7145ba;
$custom-light: #9f7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7145ba",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 186
  },
  "hsl": {
    "h": 262.564,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.50266,
    "c": 0.17615,
    "h": 296.9
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#7145BA
secondary
#B4C893
accent
#D652A4
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7145BA

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

Preview Lab → · Contrast checker → · Palette generator →

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