#7145DE#7145DE

#7145DE is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.1% C 0.219 H 290.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7145DE
RGBrgb(113, 69, 222)
HSLhsl(257, 70%, 57%)
HSVhsv(257, 69%, 87%)
CMYKcmyk(49.1%, 68.9%, 0%, 12.9%)
CIE-LABlab(42.82, 54.00, -71.56)
CIE-LCHlch(42.82, 89.65, 307.04°)
OKLaboklab(53.08% 0.0751 -0.2053)
OKLCHoklch(53.08% 0.219 290.1)
XYZxyz(22.1192, 13.0400, 70.4446)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145DE #B2DE45
analogous
#4566DE #7145DE #BE45DE
triadic
#7145DE #DE7145 #45DE71
tetradic
#7145DE #DE4566 #B2DE45 #45DEBE
square
#7145DE #DE4566 #B2DE45 #45DEBE
split-complementary
#7145DE #DEBE45 #66DE45
monochromatic
#3B198F #5123C3 #7145DE #9979E7 #C0ADF0

Accessibility & contrast

On white

5.82
#7145DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7145DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145DE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145DE#FFFFFF#000000##FFFFFF
##7145DE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E3
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#4C6C8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7145de;
/* rgb */ color: rgb(113, 69, 222);
/* oklch */ color: oklch(53.1% 0.219 290.1);
Tailwind
colors: {
  custom: {
    50: '#a37ce9',
    500: '#7145de',
    950: '#000000',
  },
}
SCSS
$custom: #7145de;
$custom-light: #a37ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7145de",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 257.255,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53077,
    "c": 0.2186,
    "h": 290.1
  },
  "luminance": 0.13041
}

Semantic roles & 50–950 ramp

primary
#7145DE
secondary
#CDDFA0
accent
#ED3BBA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145DE

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

Preview Lab → · Contrast checker → · Palette generator →

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