#7256EA#7256EA

#7256EA is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.5% C 0.213 H 286.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#7256EA
RGBrgb(114, 86, 234)
HSLhsl(251, 78%, 63%)
HSVhsv(251, 63%, 92%)
CMYKcmyk(51.3%, 63.2%, 0%, 8.2%)
CIE-LABlab(47.20, 48.43, -71.22)
CIE-LCHlch(47.20, 86.13, 304.22°)
OKLaboklab(56.54% 0.059 -0.2043)
OKLCHoklch(56.54% 0.213 286.1)
XYZxyz(25.1141, 16.1722, 79.6242)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256EA #CEEA56
analogous
#5684EA #7256EA #BC56EA
triadic
#7256EA #EA7256 #56EA72
tetradic
#7256EA #EA5684 #CEEA56 #56EABC
square
#7256EA #EA5684 #CEEA56 #56EABC
split-complementary
#7256EA #EABC56 #84EA56
monochromatic
#3316B0 #4520E3 #7256EA #9F8CF1 #CDC3F8

Accessibility & contrast

On white

4.96
#7256EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#7256EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256EA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256EA#FFFFFF#000000##FFFFFF
##7256EA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006CE7
Tritanopia (blue-blind)
#447A98
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7256ea;
/* rgb */ color: rgb(114, 86, 234);
/* oklch */ color: oklch(56.5% 0.213 286.1);
Tailwind
colors: {
  custom: {
    50: '#a487f2',
    500: '#7256ea',
    950: '#000000',
  },
}
SCSS
$custom: #7256ea;
$custom-light: #a487f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7256ea",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 234
  },
  "hsl": {
    "h": 251.351,
    "s": 77.895,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5654,
    "c": 0.21264,
    "h": 286.1
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#7256EA
secondary
#DFE9B3
accent
#DA0BB3
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7256EA

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

Preview Lab → · Contrast checker → · Palette generator →

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