#7145E5#7145E5

#7145E5 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.227 H 289.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7145E5
RGBrgb(113, 69, 229)
HSLhsl(257, 75%, 58%)
HSVhsv(257, 70%, 90%)
CMYKcmyk(50.7%, 69.9%, 0%, 10.2%)
CIE-LABlab(43.39, 55.92, -74.61)
CIE-LCHlch(43.39, 93.24, 306.85°)
OKLaboklab(53.66% 0.0738 -0.2142)
OKLCHoklch(53.66% 0.227 289)
XYZxyz(23.0769, 13.4231, 75.4885)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145E5 #B9E545
analogous
#4569E5 #7145E5 #C145E5
triadic
#7145E5 #E57145 #45E571
tetradic
#7145E5 #E54569 #B9E545 #45E5C1
square
#7145E5 #E54569 #B9E545 #45E5C1
split-complementary
#7145E5 #E5C145 #69E545
monochromatic
#3A169A #4E1DD0 #7145E5 #9A7BED #C3B0F4

Accessibility & contrast

On white

5.70
#7145E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7145E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145E5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145E5#FFFFFF#000000##FFFFFF
##7145E51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#476F90
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7145e5;
/* rgb */ color: rgb(113, 69, 229);
/* oklch */ color: oklch(53.7% 0.227 289.0);
Tailwind
colors: {
  custom: {
    50: '#a47cee',
    500: '#7145e5',
    950: '#000000',
  },
}
SCSS
$custom: #7145e5;
$custom-light: #a47cee;
$custom-dark: #000000;
JSON
{
  "hex": "#7145e5",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 229
  },
  "hsl": {
    "h": 256.5,
    "s": 75.472,
    "l": 58.431
  },
  "oklch": {
    "l": 0.5366,
    "c": 0.22661,
    "h": 289
  },
  "luminance": 0.13424
}

Semantic roles & 50–950 ramp

primary
#7145E5
secondary
#D1E3A3
accent
#F236BE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7145E5

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

Preview Lab → · Contrast checker → · Palette generator →

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