#7145CF#7145CF

#7145CF is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 51.9% C 0.201 H 292.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7145CF
RGBrgb(113, 69, 207)
HSLhsl(259, 59%, 54%)
HSVhsv(259, 67%, 81%)
CMYKcmyk(45.4%, 66.7%, 0%, 18.8%)
CIE-LABlab(41.64, 49.90, -64.88)
CIE-LCHlch(41.64, 81.85, 307.57°)
OKLaboklab(51.87% 0.0774 -0.1857)
OKLCHoklch(51.87% 0.201 292.6)
XYZxyz(20.1975, 12.2713, 60.3238)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145CF #A3CF45
analogous
#455ECF #7145CF #B645CF
triadic
#7145CF #CF7145 #45CF71
tetradic
#7145CF #CF455E #A3CF45 #45CFB6
square
#7145CF #CF455E #A3CF45 #45CFB6
split-complementary
#7145CF #CFB645 #5ECF45
monochromatic
#3C207A #542CAB #7145CF #9676DC #BBA6E8

Accessibility & contrast

On white

6.08
#7145CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7145CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145CF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145CF#FFFFFF#000000##FFFFFF
##7145CF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#556784
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7145cf;
/* rgb */ color: rgb(113, 69, 207);
/* oklch */ color: oklch(51.9% 0.201 292.6);
Tailwind
colors: {
  custom: {
    50: '#a17cdf',
    500: '#7145cf',
    950: '#000000',
  },
}
SCSS
$custom: #7145cf;
$custom-light: #a17cdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7145cf",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 259.13,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.20116,
    "h": 292.6
  },
  "luminance": 0.12272
}

Semantic roles & 50–950 ramp

primary
#7145CF
secondary
#C3D59B
accent
#E246B0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7145CF

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

Preview Lab → · Contrast checker → · Palette generator →

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