#7351CB#7351CB

#7351CB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.5% C 0.181 H 292.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7351CB
RGBrgb(115, 81, 203)
HSLhsl(257, 54%, 56%)
HSVhsv(257, 60%, 80%)
CMYKcmyk(43.3%, 60.1%, 0%, 20.4%)
CIE-LABlab(44.00, 42.62, -58.73)
CIE-LCHlch(44.00, 72.57, 305.97°)
OKLaboklab(53.53% 0.0677 -0.1675)
OKLCHoklch(53.53% 0.181 292)
XYZxyz(20.7892, 13.8409, 58.0645)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7351CB #A9CB51
analogous
#516CCB #7351CB #B051CB
triadic
#7351CB #CB7351 #51CB73
tetradic
#7351CB #CB516C #A9CB51 #51CBB0
square
#7351CB #CB516C #A9CB51 #51CBB0
split-complementary
#7351CB #CBB051 #6CCB51
monochromatic
#3D257C #5533AC #7351CB #9980D9 #BFAFE7

Accessibility & contrast

On white

5.57
#7351CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7351CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7351CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7351CB#FFFFFF#000000##FFFFFF
##7351CB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#5A6C86
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7351cb;
/* rgb */ color: rgb(115, 81, 203);
/* oklch */ color: oklch(53.5% 0.181 292.0);
Tailwind
colors: {
  custom: {
    50: '#a183dc',
    500: '#7351cb',
    950: '#000000',
  },
}
SCSS
$custom: #7351cb;
$custom-light: #a183dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7351cb",
  "rgb": {
    "r": 115,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 256.721,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.53532,
    "c": 0.1807,
    "h": 292
  },
  "luminance": 0.13841
}

Semantic roles & 50–950 ramp

primary
#7351CB
secondary
#C7D5A3
accent
#DD4AB4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7351CB

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

Preview Lab → · Contrast checker → · Palette generator →

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