#7145CB#7145CB

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

Color values

HEX#7145CB
RGBrgb(113, 69, 203)
HSLhsl(260, 56%, 53%)
HSVhsv(260, 66%, 80%)
CMYKcmyk(44.3%, 66%, 0%, 20.4%)
CIE-LABlab(41.34, 48.82, -63.06)
CIE-LCHlch(41.34, 79.75, 307.75°)
OKLaboklab(51.55% 0.078 -0.1803)
OKLCHoklch(51.55% 0.196 293.4)
XYZxyz(19.7147, 12.0782, 57.7809)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7145CB #9FCB45
analogous
#455CCB #7145CB #B445CB
triadic
#7145CB #CB7145 #45CB71
tetradic
#7145CB #CB455C #9FCB45 #45CBB4
square
#7145CB #CB455C #9FCB45 #45CBB4
split-complementary
#7145CB #CBB445 #5CCB45
monochromatic
#3C2175 #552EA5 #7145CB #9675D8 #BAA5E6

Accessibility & contrast

On white

6.15
#7145CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7145CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7145CB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7145CB#FFFFFF#000000##FFFFFF
##7145CB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#576582
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7145cb;
/* rgb */ color: rgb(113, 69, 203);
/* oklch */ color: oklch(51.6% 0.196 293.4);
Tailwind
colors: {
  custom: {
    50: '#a17bdc',
    500: '#7145cb',
    950: '#000000',
  },
}
SCSS
$custom: #7145cb;
$custom-light: #a17bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7145cb",
  "rgb": {
    "r": 113,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 259.701,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.19645,
    "h": 293.4
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7145CB

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

Preview Lab → · Contrast checker → · Palette generator →

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