#7256E2#7256E2

#7256E2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 55.9% C 0.203 H 287.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#7256E2
RGBrgb(114, 86, 226)
HSLhsl(252, 71%, 61%)
HSVhsv(252, 62%, 89%)
CMYKcmyk(49.6%, 61.9%, 0%, 11.4%)
CIE-LABlab(46.61, 46.12, -67.66)
CIE-LCHlch(46.61, 81.89, 304.28°)
OKLaboklab(55.93% 0.0597 -0.1938)
OKLCHoklch(55.93% 0.203 287.1)
XYZxyz(23.9907, 15.7229, 73.7075)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256E2 #C6E256
analogous
#5680E2 #7256E2 #B856E2
triadic
#7256E2 #E27256 #56E272
tetradic
#7256E2 #E25680 #C6E256 #56E2B8
square
#7256E2 #E25680 #C6E256 #56E2B8
split-complementary
#7256E2 #E2B856 #80E256
monochromatic
#371CA2 #4825D6 #7256E2 #9E8AEB #C9BEF4

Accessibility & contrast

On white

5.07
#7256E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7256E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256E2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256E2#FFFFFF#000000##FFFFFF
##7256E21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E6
Deuteranopia (green-blind)
#006BDF
Tritanopia (blue-blind)
#4A7794
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7256e2;
/* rgb */ color: rgb(114, 86, 226);
/* oklch */ color: oklch(55.9% 0.203 287.1);
Tailwind
colors: {
  custom: {
    50: '#a387ec',
    500: '#7256e2',
    950: '#000000',
  },
}
SCSS
$custom: #7256e2;
$custom-light: #a387ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7256e2",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 226
  },
  "hsl": {
    "h": 252,
    "s": 70.707,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.2028,
    "h": 287.1
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#7256E2
secondary
#DAE4B0
accent
#D313AC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7256E2

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

Preview Lab → · Contrast checker → · Palette generator →

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