#7145CA#7145CA

#7145CA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.195 H 293.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7145CA
RGBrgb(113, 69, 202)
HSLhsl(260, 56%, 53%)
HSVhsv(260, 66%, 79%)
CMYKcmyk(44.1%, 65.8%, 0%, 20.8%)
CIE-LABlab(41.26, 48.55, -62.60)
CIE-LCHlch(41.26, 79.22, 307.79°)
OKLaboklab(51.47% 0.0781 -0.179)
OKLCHoklch(51.47% 0.195 293.6)
XYZxyz(19.5959, 12.0307, 57.1553)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145CA #9ECA45
analogous
#455BCA #7145CA #B445CA
triadic
#7145CA #CA7145 #45CA71
tetradic
#7145CA #CA455B #9ECA45 #45CAB4
square
#7145CA #CA455B #9ECA45 #45CAB4
split-complementary
#7145CA #CAB445 #5BCA45
monochromatic
#3C2174 #552FA3 #7145CA #9575D8 #BAA4E5

Accessibility & contrast

On white

6.17
#7145CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7145CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145CA
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145CA#FFFFFF#000000##FFFFFF
##7145CA1.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#586582
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7145ca;
/* rgb */ color: rgb(113, 69, 202);
/* oklch */ color: oklch(51.5% 0.195 293.6);
Tailwind
colors: {
  custom: {
    50: '#a17bdb',
    500: '#7145ca',
    950: '#000000',
  },
}
SCSS
$custom: #7145ca;
$custom-light: #a17bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7145ca",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 259.85,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.19527,
    "h": 293.6
  },
  "luminance": 0.12031
}

Semantic roles & 50–950 ramp

primary
#7145CA
secondary
#BFD299
accent
#DF49AD
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7145CA

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

Preview Lab → · Contrast checker → · Palette generator →

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