#7145CC#7145CC

#7145CC is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.198 H 293.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7145CC
RGBrgb(113, 69, 204)
HSLhsl(260, 57%, 54%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(44.6%, 66.2%, 0%, 20%)
CIE-LABlab(41.42, 49.09, -63.52)
CIE-LCHlch(41.42, 80.27, 307.70°)
OKLaboklab(51.63% 0.0778 -0.1817)
OKLCHoklch(51.63% 0.198 293.2)
XYZxyz(19.8343, 12.1260, 58.4106)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145CC #A0CC45
analogous
#455CCC #7145CC #B545CC
triadic
#7145CC #CC7145 #45CC71
tetradic
#7145CC #CC455C #A0CC45 #45CCB5
square
#7145CC #CC455C #A0CC45 #45CCB5
split-complementary
#7145CC #CCB545 #5CCC45
monochromatic
#3C2076 #552EA6 #7145CC #9675D9 #BAA5E6

Accessibility & contrast

On white

6.13
#7145CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7145CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145CC
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145CC#FFFFFF#000000##FFFFFF
##7145CC1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005FC9
Tritanopia (blue-blind)
#576683
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7145cc;
/* rgb */ color: rgb(113, 69, 204);
/* oklch */ color: oklch(51.6% 0.198 293.2);
Tailwind
colors: {
  custom: {
    50: '#a17bdc',
    500: '#7145cc',
    950: '#000000',
  },
}
SCSS
$custom: #7145cc;
$custom-light: #a17bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7145cc",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 259.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5163,
    "c": 0.19763,
    "h": 293.2
  },
  "luminance": 0.12127
}

Semantic roles & 50–950 ramp

primary
#7145CC
secondary
#C0D399
accent
#E048AE
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7145CC

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

Preview Lab → · Contrast checker → · Palette generator →

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