#7145CD#7145CD

#7145CD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.199 H 293.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7145CD
RGBrgb(113, 69, 205)
HSLhsl(259, 58%, 54%)
HSVhsv(259, 66%, 80%)
CMYKcmyk(44.9%, 66.3%, 0%, 19.6%)
CIE-LABlab(41.49, 49.36, -63.97)
CIE-LCHlch(41.49, 80.80, 307.66°)
OKLaboklab(51.71% 0.0777 -0.183)
OKLCHoklch(51.71% 0.199 293)
XYZxyz(19.9546, 12.1741, 59.0442)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145CD #A1CD45
analogous
#455DCD #7145CD #B545CD
triadic
#7145CD #CD7145 #45CD71
tetradic
#7145CD #CD455D #A1CD45 #45CDB5
square
#7145CD #CD455D #A1CD45 #45CDB5
split-complementary
#7145CD #CDB545 #5DCD45
monochromatic
#3C2077 #552DA8 #7145CD #9675DA #BBA5E7

Accessibility & contrast

On white

6.11
#7145CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7145CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145CD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145CD#FFFFFF#000000##FFFFFF
##7145CD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#566683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7145cd;
/* rgb */ color: rgb(113, 69, 205);
/* oklch */ color: oklch(51.7% 0.199 293.0);
Tailwind
colors: {
  custom: {
    50: '#a17bdd',
    500: '#7145cd',
    950: '#000000',
  },
}
SCSS
$custom: #7145cd;
$custom-light: #a17bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7145cd",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 259.412,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51708,
    "c": 0.19881,
    "h": 293
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#7145CD
secondary
#C1D49A
accent
#E147AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7145CD

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

Preview Lab → · Contrast checker → · Palette generator →

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