#7345CB#7345CB

#7345CB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.8% C 0.197 H 294.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7345CB
RGBrgb(115, 69, 203)
HSLhsl(261, 56%, 53%)
HSVhsv(261, 66%, 80%)
CMYKcmyk(43.3%, 66%, 0%, 20.4%)
CIE-LABlab(41.55, 49.20, -62.71)
CIE-LCHlch(41.55, 79.71, 308.12°)
OKLaboklab(51.75% 0.0807 -0.1792)
OKLCHoklch(51.75% 0.197 294.2)
XYZxyz(19.9749, 12.2124, 57.7931)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7345CB #9DCB45
analogous
#455ACB #7345CB #B645CB
triadic
#7345CB #CB7345 #45CB73
tetradic
#7345CB #CB455A #9DCB45 #45CBB6
square
#7345CB #CB455A #9DCB45 #45CBB6
split-complementary
#7345CB #CBB645 #5ACB45
monochromatic
#3E2175 #572EA5 #7345CB #9775D8 #BBA5E6

Accessibility & contrast

On white

6.10
#7345CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7345CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7345CB
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7345CB#FFFFFF#000000##FFFFFF
##7345CB1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#5B6582
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7345cb;
/* rgb */ color: rgb(115, 69, 203);
/* oklch */ color: oklch(51.8% 0.197 294.2);
Tailwind
colors: {
  custom: {
    50: '#a27cdc',
    500: '#7345cb',
    950: '#000000',
  },
}
SCSS
$custom: #7345cb;
$custom-light: #a27cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7345cb",
  "rgb": {
    "r": 115,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 260.597,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51753,
    "c": 0.19656,
    "h": 294.2
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#7345CB
secondary
#BFD399
accent
#E048AC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7345CB

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

Preview Lab → · Contrast checker → · Palette generator →

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