#7256E6#7256E6

#7256E6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.2% C 0.208 H 286.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7256E6
RGBrgb(114, 86, 230)
HSLhsl(252, 74%, 62%)
HSVhsv(252, 63%, 90%)
CMYKcmyk(50.4%, 62.6%, 0%, 9.8%)
CIE-LABlab(46.90, 47.28, -69.45)
CIE-LCHlch(46.90, 84.01, 304.24°)
OKLaboklab(56.23% 0.0593 -0.1991)
OKLCHoklch(56.23% 0.208 286.6)
XYZxyz(24.5459, 15.9450, 76.6319)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256E6 #CAE656
analogous
#5682E6 #7256E6 #BA56E6
triadic
#7256E6 #E67256 #56E672
tetradic
#7256E6 #E65682 #CAE656 #56E6BA
square
#7256E6 #E65682 #CAE656 #56E6BA
split-complementary
#7256E6 #E6BA56 #82E656
monochromatic
#3519A9 #4621DE #7256E6 #9E8BEE #CBC1F6

Accessibility & contrast

On white

5.01
#7256E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7256E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256E6
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256E6#FFFFFF#000000##FFFFFF
##7256E61.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#006BE3
Tritanopia (blue-blind)
#477996
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7256e6;
/* rgb */ color: rgb(114, 86, 230);
/* oklch */ color: oklch(56.2% 0.208 286.6);
Tailwind
colors: {
  custom: {
    50: '#a387ef',
    500: '#7256e6',
    950: '#000000',
  },
}
SCSS
$custom: #7256e6;
$custom-light: #a387ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7256e6",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 230
  },
  "hsl": {
    "h": 251.667,
    "s": 74.227,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56231,
    "c": 0.20774,
    "h": 286.6
  },
  "luminance": 0.15946
}

Semantic roles & 50–950 ramp

primary
#7256E6
secondary
#DCE6B1
accent
#D60FB0
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7256E6

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

Preview Lab → · Contrast checker → · Palette generator →

#7256E6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva