#7145A2#7145A2

#7145A2 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.6% C 0.147 H 303.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7145A2
RGBrgb(113, 69, 162)
HSLhsl(268, 40%, 45%)
HSVhsv(268, 57%, 64%)
CMYKcmyk(30.2%, 57.4%, 0%, 36.5%)
CIE-LABlab(38.51, 37.98, -43.50)
CIE-LCHlch(38.51, 57.74, 311.12°)
OKLaboklab(48.6% 0.0803 -0.1228)
OKLCHoklch(48.6% 0.147 303.2)
XYZxyz(15.4583, 10.3756, 35.3637)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145A2 #76A245
analogous
#4547A2 #7145A2 #9F45A2
triadic
#7145A2 #A27145 #45A271
tetradic
#7145A2 #A24547 #76A245 #45A29F
square
#7145A2 #A24547 #76A245 #45A29F
split-complementary
#7145A2 #A29F45 #47A245
monochromatic
#35204C #533377 #7145A2 #9066BE #AF91D0

Accessibility & contrast

On white

6.83
#7145A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7145A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145A2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145A2#FFFFFF#000000##FFFFFF
##7145A21.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#305AA0
Tritanopia (blue-blind)
#68576D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7145a2;
/* rgb */ color: rgb(113, 69, 162);
/* oklch */ color: oklch(48.6% 0.147 303.2);
Tailwind
colors: {
  custom: {
    50: '#9d7abe',
    500: '#7145a2',
    950: '#000000',
  },
}
SCSS
$custom: #7145a2;
$custom-light: #9d7abe;
$custom-dark: #000000;
JSON
{
  "hex": "#7145a2",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 268.387,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.48595,
    "c": 0.14678,
    "h": 303.2
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#7145A2
secondary
#A3BC87
accent
#D05897
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #7145A2

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

Preview Lab → · Contrast checker → · Palette generator →

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