#7145D1#7145D1

#7145D1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.204 H 292.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7145D1
RGBrgb(113, 69, 209)
HSLhsl(259, 60%, 55%)
HSVhsv(259, 67%, 82%)
CMYKcmyk(45.9%, 67%, 0%, 18%)
CIE-LABlab(41.80, 50.45, -65.78)
CIE-LCHlch(41.80, 82.90, 307.49°)
OKLaboklab(52.02% 0.0772 -0.1883)
OKLCHoklch(52.02% 0.204 292.3)
XYZxyz(20.4436, 12.3697, 61.6197)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145D1 #A5D145
analogous
#455FD1 #7145D1 #B745D1
triadic
#7145D1 #D17145 #45D171
tetradic
#7145D1 #D1455F #A5D145 #45D1B7
square
#7145D1 #D1455F #A5D145 #45D1B7
split-complementary
#7145D1 #D1B745 #5FD145
monochromatic
#3C1F7D #542BAE #7145D1 #9676DD #BCA7E9

Accessibility & contrast

On white

6.04
#7145D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7145D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145D1
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145D1#FFFFFF#000000##FFFFFF
##7145D11.006.043.476.04
#FFFFFF6.041.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0060CE
Tritanopia (blue-blind)
#546785
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7145d1;
/* rgb */ color: rgb(113, 69, 209);
/* oklch */ color: oklch(52.0% 0.204 292.3);
Tailwind
colors: {
  custom: {
    50: '#a17ce0',
    500: '#7145d1',
    950: '#000000',
  },
}
SCSS
$custom: #7145d1;
$custom-light: #a17ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#7145d1",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 209
  },
  "hsl": {
    "h": 258.857,
    "s": 60.345,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52024,
    "c": 0.20351,
    "h": 292.3
  },
  "luminance": 0.1237
}

Semantic roles & 50–950 ramp

primary
#7145D1
secondary
#C4D79B
accent
#E344B1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7145D1

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

Preview Lab → · Contrast checker → · Palette generator →

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