#7156F3#7156F3

#7156F3 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.224 H 284.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#7156F3
RGBrgb(113, 86, 243)
HSLhsl(250, 87%, 65%)
HSVhsv(250, 65%, 95%)
CMYKcmyk(53.5%, 64.6%, 0%, 4.7%)
CIE-LABlab(47.80, 50.87, -75.31)
CIE-LCHlch(47.80, 90.88, 304.04°)
OKLaboklab(57.17% 0.0568 -0.2163)
OKLCHoklch(57.17% 0.224 284.7)
XYZxyz(26.3106, 16.6359, 86.6013)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156F3 #D8F356
analogous
#568AF3 #7156F3 #BF56F3
triadic
#7156F3 #F37156 #56F371
tetradic
#7156F3 #F3568A #D8F356 #56F3BF
square
#7156F3 #F3568A #D8F356 #56F3BF
split-complementary
#7156F3 #F3BF56 #8AF356
monochromatic
#2D0EC1 #411DEF #7156F3 #A18FF7 #D1C8FB

Accessibility & contrast

On white

4.85
#7156F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#7156F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156F3
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156F3#FFFFFF#000000##FFFFFF
##7156F31.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F8
Deuteranopia (green-blind)
#006CF0
Tritanopia (blue-blind)
#387D9D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7156f3;
/* rgb */ color: rgb(113, 86, 243);
/* oklch */ color: oklch(57.2% 0.224 284.7);
Tailwind
colors: {
  custom: {
    50: '#a587f8',
    500: '#7156f3',
    950: '#000000',
  },
}
SCSS
$custom: #7156f3;
$custom-light: #a587f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7156f3",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 243
  },
  "hsl": {
    "h": 250.318,
    "s": 86.74,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57166,
    "c": 0.22365,
    "h": 284.7
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#7156F3
secondary
#E4EDB7
accent
#E302BD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7156F3

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

Preview Lab → · Contrast checker → · Palette generator →

#7156F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva