#7145E8#7145E8

#7145E8 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.9% C 0.230 H 288.6°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7145E8
RGBrgb(113, 69, 232)
HSLhsl(256, 78%, 59%)
HSVhsv(256, 70%, 91%)
CMYKcmyk(51.3%, 70.3%, 0%, 9%)
CIE-LABlab(43.64, 56.74, -75.90)
CIE-LCHlch(43.64, 94.77, 306.78°)
OKLaboklab(53.91% 0.0732 -0.218)
OKLCHoklch(53.91% 0.23 288.6)
XYZxyz(23.4994, 13.5921, 77.7136)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145E8 #BCE845
analogous
#456BE8 #7145E8 #C245E8
triadic
#7145E8 #E87145 #45E871
tetradic
#7145E8 #E8456B #BCE845 #45E8C2
square
#7145E8 #E8456B #BCE845 #45E8C2
split-complementary
#7145E8 #E8C245 #6BE845
monochromatic
#39149F #4D1AD5 #7145E8 #9B7BEF #C4B2F5

Accessibility & contrast

On white

5.65
#7145E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7145E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145E8
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145E8#FFFFFF#000000##FFFFFF
##7145E81.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BED
Deuteranopia (green-blind)
#0063E5
Tritanopia (blue-blind)
#447092
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7145e8;
/* rgb */ color: rgb(113, 69, 232);
/* oklch */ color: oklch(53.9% 0.230 288.6);
Tailwind
colors: {
  custom: {
    50: '#a47cf1',
    500: '#7145e8',
    950: '#000000',
  },
}
SCSS
$custom: #7145e8;
$custom-light: #a47cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#7145e8",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 256.196,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.23002,
    "h": 288.6
  },
  "luminance": 0.13593
}

Semantic roles & 50–950 ramp

primary
#7145E8
secondary
#D3E4A4
accent
#F433C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7145E8

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

Preview Lab → · Contrast checker → · Palette generator →

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