#7145EF#7145EF

#7145EF is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.238 H 287.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7145EF
RGBrgb(113, 69, 239)
HSLhsl(256, 84%, 60%)
HSVhsv(256, 71%, 94%)
CMYKcmyk(52.7%, 71.1%, 0%, 6.3%)
CIE-LABlab(44.23, 58.66, -78.89)
CIE-LCHlch(44.23, 98.31, 306.63°)
OKLaboklab(54.51% 0.0718 -0.2268)
OKLCHoklch(54.51% 0.238 287.6)
XYZxyz(24.5136, 13.9977, 83.0548)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145EF #C3EF45
analogous
#456EEF #7145EF #C645EF
triadic
#7145EF #EF7145 #45EF71
tetradic
#7145EF #EF456E #C3EF45 #45EFC6
square
#7145EF #EF456E #C3EF45 #45EFC6
split-complementary
#7145EF #EFC645 #6EEF45
monochromatic
#370FAB #4914E3 #7145EF #9C7DF4 #C7B6F9

Accessibility & contrast

On white

5.53
#7145EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7145EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145EF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145EF#FFFFFF#000000##FFFFFF
##7145EF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF4
Deuteranopia (green-blind)
#0064EC
Tritanopia (blue-blind)
#3E7296
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7145ef;
/* rgb */ color: rgb(113, 69, 239);
/* oklch */ color: oklch(54.5% 0.238 287.6);
Tailwind
colors: {
  custom: {
    50: '#a57df5',
    500: '#7145ef',
    950: '#000000',
  },
}
SCSS
$custom: #7145ef;
$custom-light: #a57df5;
$custom-dark: #000000;
JSON
{
  "hex": "#7145ef",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 239
  },
  "hsl": {
    "h": 255.529,
    "s": 84.158,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.23792,
    "h": 287.6
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

primary
#7145EF
secondary
#D8E8A7
accent
#E105A8
background
#FAF7FF
surface
#F5EEFF
border
#CFC9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7145EF

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

Preview Lab → · Contrast checker → · Palette generator →

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