#7256EE#7256EE

#7256EE is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.218 H 285.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7256EE
RGBrgb(114, 86, 238)
HSLhsl(251, 82%, 64%)
HSVhsv(251, 64%, 93%)
CMYKcmyk(52.1%, 63.9%, 0%, 6.7%)
CIE-LABlab(47.50, 49.59, -72.98)
CIE-LCHlch(47.50, 88.24, 304.20°)
OKLaboklab(56.85% 0.0586 -0.2095)
OKLCHoklch(56.85% 0.218 285.6)
XYZxyz(25.6952, 16.4047, 82.6848)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256EE #D2EE56
analogous
#5686EE #7256EE #BE56EE
triadic
#7256EE #EE7256 #56EE72
tetradic
#7256EE #EE5686 #D2EE56 #56EEBE
square
#7256EE #EE5686 #D2EE56 #56EEBE
split-complementary
#7256EE #EEBE56 #86EE56
monochromatic
#3112B7 #441EE8 #7256EE #A08EF4 #CFC5F9

Accessibility & contrast

On white

4.91
#7256EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7256EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256EE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256EE#FFFFFF#000000##FFFFFF
##7256EE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#407B9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7256ee;
/* rgb */ color: rgb(114, 86, 238);
/* oklch */ color: oklch(56.9% 0.218 285.6);
Tailwind
colors: {
  custom: {
    50: '#a587f5',
    500: '#7256ee',
    950: '#000000',
  },
}
SCSS
$custom: #7256ee;
$custom-light: #a587f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7256ee",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 238
  },
  "hsl": {
    "h": 251.053,
    "s": 81.72,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.21751,
    "h": 285.6
  },
  "luminance": 0.16406
}

Semantic roles & 50–950 ramp

primary
#7256EE
secondary
#E1EBB5
accent
#DE07B7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7256EE

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

Preview Lab → · Contrast checker → · Palette generator →

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