#7156F6#7156F6

#7156F6 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.227 H 284.4°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7156F6
RGBrgb(113, 86, 246)
HSLhsl(250, 90%, 65%)
HSVhsv(250, 65%, 96%)
CMYKcmyk(54.1%, 65%, 0%, 3.5%)
CIE-LABlab(48.03, 51.74, -76.61)
CIE-LCHlch(48.03, 92.44, 304.04°)
OKLaboklab(57.41% 0.0564 -0.2201)
OKLCHoklch(57.41% 0.227 284.4)
XYZxyz(26.7673, 16.8186, 89.0068)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7156F6 #DBF656
analogous
#568BF6 #7156F6 #C156F6
triadic
#7156F6 #F67156 #56F671
tetradic
#7156F6 #F6568B #DBF656 #56F6C1
square
#7156F6 #F6568B #DBF656 #56F6C1
split-complementary
#7156F6 #F6C156 #8BF656
monochromatic
#2A0BC7 #401CF3 #7156F6 #A290F9 #D3CAFC

Accessibility & contrast

On white

4.81
#7156F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#7156F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7156F6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7156F6#FFFFFF#000000##FFFFFF
##7156F61.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#357E9F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7156f6;
/* rgb */ color: rgb(113, 86, 246);
/* oklch */ color: oklch(57.4% 0.227 284.4);
Tailwind
colors: {
  custom: {
    50: '#a587fa',
    500: '#7156f6',
    950: '#000000',
  },
}
SCSS
$custom: #7156f6;
$custom-light: #a587fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7156f6",
  "rgb": {
    "r": 113,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 250.125,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57407,
    "c": 0.22725,
    "h": 284.4
  },
  "luminance": 0.1682
}

Semantic roles & 50–950 ramp

primary
#7156F6
secondary
#E6EFB9
accent
#E600BF
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7156F6

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

Preview Lab → · Contrast checker → · Palette generator →

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