#7145E2#7145E2

#7145E2 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.4% C 0.223 H 289.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#7145E2
RGBrgb(113, 69, 226)
HSLhsl(257, 73%, 58%)
HSVhsv(257, 69%, 89%)
CMYKcmyk(50%, 69.5%, 0%, 11.4%)
CIE-LABlab(43.15, 55.09, -73.31)
CIE-LCHlch(43.15, 91.70, 306.93°)
OKLaboklab(53.41% 0.0744 -0.2104)
OKLCHoklch(53.41% 0.223 289.5)
XYZxyz(22.6617, 13.2570, 73.3015)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145E2 #B6E245
analogous
#4568E2 #7145E2 #BF45E2
triadic
#7145E2 #E27145 #45E271
tetradic
#7145E2 #E24568 #B6E245 #45E2BF
square
#7145E2 #E24568 #B6E245 #45E2BF
split-complementary
#7145E2 #E2BF45 #68E245
monochromatic
#3B1795 #4F20CA #7145E2 #997AEA #C2AFF3

Accessibility & contrast

On white

5.75
#7145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7145E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145E2
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145E2#FFFFFF#000000##FFFFFF
##7145E21.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#496E8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7145e2;
/* rgb */ color: rgb(113, 69, 226);
/* oklch */ color: oklch(53.4% 0.223 289.5);
Tailwind
colors: {
  custom: {
    50: '#a37cec',
    500: '#7145e2',
    950: '#000000',
  },
}
SCSS
$custom: #7145e2;
$custom-light: #a37cec;
$custom-dark: #000000;
JSON
{
  "hex": "#7145e2",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 256.815,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53409,
    "c": 0.22319,
    "h": 289.5
  },
  "luminance": 0.13258
}

Semantic roles & 50–950 ramp

primary
#7145E2
secondary
#CFE1A2
accent
#F038BC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145E2

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

Preview Lab → · Contrast checker → · Palette generator →

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