#7256E4#7256E4

#7256E4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.1% C 0.205 H 286.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7256E4
RGBrgb(114, 86, 228)
HSLhsl(252, 72%, 62%)
HSVhsv(252, 62%, 89%)
CMYKcmyk(50%, 62.3%, 0%, 10.6%)
CIE-LABlab(46.76, 46.70, -68.56)
CIE-LCHlch(46.76, 82.95, 304.26°)
OKLaboklab(56.08% 0.0595 -0.1965)
OKLCHoklch(56.08% 0.205 286.8)
XYZxyz(24.2667, 15.8333, 75.1612)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256E4 #C8E456
analogous
#5681E4 #7256E4 #B956E4
triadic
#7256E4 #E47256 #56E472
tetradic
#7256E4 #E45681 #C8E456 #56E4B9
square
#7256E4 #E45681 #C8E456 #56E4B9
split-complementary
#7256E4 #E4B956 #81E456
monochromatic
#361AA5 #4723DA #7256E4 #9E8BEC #CAC0F5

Accessibility & contrast

On white

5.04
#7256E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7256E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256E4
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256E4#FFFFFF#000000##FFFFFF
##7256E41.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006BE1
Tritanopia (blue-blind)
#487895
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7256e4;
/* rgb */ color: rgb(114, 86, 228);
/* oklch */ color: oklch(56.1% 0.205 286.8);
Tailwind
colors: {
  custom: {
    50: '#a387ed',
    500: '#7256e4',
    950: '#000000',
  },
}
SCSS
$custom: #7256e4;
$custom-light: #a387ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7256e4",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 251.831,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56078,
    "c": 0.20527,
    "h": 286.8
  },
  "luminance": 0.15834
}

Semantic roles & 50–950 ramp

primary
#7256E4
secondary
#DBE5B0
accent
#D511AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7256E4

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

Preview Lab → · Contrast checker → · Palette generator →

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