#7145E1#7145E1

#7145E1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.222 H 289.6°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#7145E1
RGBrgb(113, 69, 225)
HSLhsl(257, 72%, 58%)
HSVhsv(257, 69%, 88%)
CMYKcmyk(49.8%, 69.3%, 0%, 11.8%)
CIE-LABlab(43.07, 54.82, -72.87)
CIE-LCHlch(43.07, 91.19, 306.95°)
OKLaboklab(53.33% 0.0746 -0.2091)
OKLCHoklch(53.33% 0.222 289.6)
XYZxyz(22.5249, 13.2022, 72.5810)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145E1 #B5E145
analogous
#4567E1 #7145E1 #BF45E1
triadic
#7145E1 #E17145 #45E171
tetradic
#7145E1 #E14567 #B5E145 #45E1BF
square
#7145E1 #E14567 #B5E145 #45E1BF
split-complementary
#7145E1 #E1BF45 #67E145
monochromatic
#3B1894 #5020C8 #7145E1 #997AE9 #C1AEF2

Accessibility & contrast

On white

5.77
#7145E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#7145E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145E1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145E1#FFFFFF#000000##FFFFFF
##7145E11.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#4A6D8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7145e1;
/* rgb */ color: rgb(113, 69, 225);
/* oklch */ color: oklch(53.3% 0.222 289.6);
Tailwind
colors: {
  custom: {
    50: '#a37cec',
    500: '#7145e1',
    950: '#000000',
  },
}
SCSS
$custom: #7145e1;
$custom-light: #a37cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7145e1",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 256.923,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53326,
    "c": 0.22204,
    "h": 289.6
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#7145E1
secondary
#CFE0A2
accent
#EF39BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145E1

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

Preview Lab → · Contrast checker → · Palette generator →

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