#7145DD#7145DD

#7145DD is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 53.0% C 0.217 H 290.2°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7145DD
RGBrgb(113, 69, 221)
HSLhsl(257, 69%, 57%)
HSVhsv(257, 69%, 87%)
CMYKcmyk(48.9%, 68.8%, 0%, 13.3%)
CIE-LABlab(42.74, 53.73, -71.12)
CIE-LCHlch(42.74, 89.13, 307.07°)
OKLaboklab(53% 0.0753 -0.204)
OKLCHoklch(53% 0.217 290.2)
XYZxyz(21.9856, 12.9865, 69.7408)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145DD #B1DD45
analogous
#4565DD #7145DD #BD45DD
triadic
#7145DD #DD7145 #45DD71
tetradic
#7145DD #DD4565 #B1DD45 #45DDBD
square
#7145DD #DD4565 #B1DD45 #45DDBD
split-complementary
#7145DD #DDBD45 #65DD45
monochromatic
#3B1A8E #5123C1 #7145DD #9979E6 #C0ACF0

Accessibility & contrast

On white

5.84
#7145DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7145DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145DD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145DD#FFFFFF#000000##FFFFFF
##7145DD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#4D6C8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7145dd;
/* rgb */ color: rgb(113, 69, 221);
/* oklch */ color: oklch(53.0% 0.217 290.2);
Tailwind
colors: {
  custom: {
    50: '#a37ce9',
    500: '#7145dd',
    950: '#000000',
  },
}
SCSS
$custom: #7145dd;
$custom-light: #a37ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#7145dd",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 221
  },
  "hsl": {
    "h": 257.368,
    "s": 69.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52995,
    "c": 0.21745,
    "h": 290.2
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#7145DD
secondary
#CCDEA0
accent
#EC3CB9
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145DD

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

Preview Lab → · Contrast checker → · Palette generator →

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