#7145C1#7145C1

#7145C1 is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.185 H 295.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7145C1
RGBrgb(113, 69, 193)
HSLhsl(261, 50%, 51%)
HSVhsv(261, 64%, 76%)
CMYKcmyk(41.5%, 64.2%, 0%, 24.3%)
CIE-LABlab(40.60, 46.12, -58.45)
CIE-LCHlch(40.60, 74.45, 308.27°)
OKLaboklab(50.79% 0.0791 -0.1668)
OKLCHoklch(50.79% 0.185 295.4)
XYZxyz(18.5613, 11.6168, 51.7061)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145C1 #95C145
analogous
#4557C1 #7145C1 #AF45C1
triadic
#7145C1 #C17145 #45C171
tetradic
#7145C1 #C14557 #95C145 #45C1AF
square
#7145C1 #C14557 #95C145 #45C1AF
split-complementary
#7145C1 #C1AF45 #57C145
monochromatic
#3C2369 #563297 #7145C1 #9473D0 #B7A1E0

Accessibility & contrast

On white

6.32
#7145C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7145C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145C1
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145C1#FFFFFF#000000##FFFFFF
##7145C11.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C5
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#5C627D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7145c1;
/* rgb */ color: rgb(113, 69, 193);
/* oklch */ color: oklch(50.8% 0.185 295.4);
Tailwind
colors: {
  custom: {
    50: '#a07bd5',
    500: '#7145c1',
    950: '#000000',
  },
}
SCSS
$custom: #7145c1;
$custom-light: #a07bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#7145c1",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 261.29,
    "s": 50,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.18457,
    "h": 295.4
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#7145C1
secondary
#B9CC96
accent
#DA4EA8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7145C1

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

Preview Lab → · Contrast checker → · Palette generator →

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