#7145DF#7145DF

#7145DF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.2% C 0.220 H 289.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7145DF
RGBrgb(113, 69, 223)
HSLhsl(257, 71%, 57%)
HSVhsv(257, 69%, 87%)
CMYKcmyk(49.3%, 69.1%, 0%, 12.5%)
CIE-LABlab(42.90, 54.27, -72.00)
CIE-LCHlch(42.90, 90.16, 307.01°)
OKLaboklab(53.16% 0.0749 -0.2066)
OKLCHoklch(53.16% 0.22 289.9)
XYZxyz(22.2536, 13.0937, 71.1525)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145DF #B3DF45
analogous
#4566DF #7145DF #BE45DF
triadic
#7145DF #DF7145 #45DF71
tetradic
#7145DF #DF4566 #B3DF45 #45DFBE
square
#7145DF #DF4566 #B3DF45 #45DFBE
split-complementary
#7145DF #DFBE45 #66DF45
monochromatic
#3B1991 #5022C5 #7145DF #9979E8 #C1ADF1

Accessibility & contrast

On white

5.80
#7145DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7145DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145DF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145DF#FFFFFF#000000##FFFFFF
##7145DF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#4B6C8D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7145df;
/* rgb */ color: rgb(113, 69, 223);
/* oklch */ color: oklch(53.2% 0.220 289.9);
Tailwind
colors: {
  custom: {
    50: '#a37cea',
    500: '#7145df',
    950: '#000000',
  },
}
SCSS
$custom: #7145df;
$custom-light: #a37cea;
$custom-dark: #000000;
JSON
{
  "hex": "#7145df",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 257.143,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5316,
    "c": 0.21974,
    "h": 289.9
  },
  "luminance": 0.13095
}

Semantic roles & 50–950 ramp

primary
#7145DF
secondary
#CDDFA1
accent
#ED3ABA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145DF

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

Preview Lab → · Contrast checker → · Palette generator →

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