#7145DC#7145DC

#7145DC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.216 H 290.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7145DC
RGBrgb(113, 69, 220)
HSLhsl(257, 68%, 57%)
HSVhsv(257, 69%, 86%)
CMYKcmyk(48.6%, 68.6%, 0%, 13.7%)
CIE-LABlab(42.66, 53.45, -70.68)
CIE-LCHlch(42.66, 88.62, 307.10°)
OKLaboklab(52.91% 0.0754 -0.2027)
OKLCHoklch(52.91% 0.216 290.4)
XYZxyz(21.8528, 12.9334, 69.0412)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145DC #B0DC45
analogous
#4565DC #7145DC #BC45DC
triadic
#7145DC #DC7145 #45DC71
tetradic
#7145DC #DC4565 #B0DC45 #45DCBC
square
#7145DC #DC4565 #B0DC45 #45DCBC
split-complementary
#7145DC #DCBC45 #65DC45
monochromatic
#3C1A8C #5124C0 #7145DC #9879E6 #C0ACEF

Accessibility & contrast

On white

5.85
#7145DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7145DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145DC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145DC#FFFFFF#000000##FFFFFF
##7145DC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#4D6B8B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7145dc;
/* rgb */ color: rgb(113, 69, 220);
/* oklch */ color: oklch(52.9% 0.216 290.4);
Tailwind
colors: {
  custom: {
    50: '#a37ce8',
    500: '#7145dc',
    950: '#000000',
  },
}
SCSS
$custom: #7145dc;
$custom-light: #a37ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#7145dc",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 220
  },
  "hsl": {
    "h": 257.483,
    "s": 68.326,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52912,
    "c": 0.21629,
    "h": 290.4
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#7145DC
secondary
#CBDDA0
accent
#EB3DB8
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7145DC

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

Preview Lab → · Contrast checker → · Palette generator →

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