#7256AF#7256AF

#7256AF is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.4% C 0.137 H 295.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7256AF
RGBrgb(114, 86, 175)
HSLhsl(259, 36%, 51%)
HSVhsv(259, 51%, 69%)
CMYKcmyk(34.9%, 50.9%, 0%, 31.4%)
CIE-LABlab(43.25, 31.75, -43.63)
CIE-LCHlch(43.25, 53.96, 306.04°)
OKLaboklab(52.38% 0.0596 -0.1232)
OKLCHoklch(52.38% 0.137 295.8)
XYZxyz(18.0031, 13.3278, 42.1732)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256AF #93AF56
analogous
#5666AF #7256AF #9E56AF
triadic
#7256AF #AF7256 #56AF72
tetradic
#7256AF #AF5666 #93AF56 #56AF9E
square
#7256AF #AF5666 #93AF56 #56AF9E
split-complementary
#7256AF #AF9E56 #66AF56
monochromatic
#3C2D5E #574088 #7256AF #9580C3 #B7A9D6

Accessibility & contrast

On white

5.73
#7256AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#7256AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256AF
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256AF#FFFFFF#000000##FFFFFF
##7256AF1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3567B2
Deuteranopia (green-blind)
#3B65AD
Tritanopia (blue-blind)
#64677A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7256af;
/* rgb */ color: rgb(114, 86, 175);
/* oklch */ color: oklch(52.4% 0.137 295.8);
Tailwind
colors: {
  custom: {
    50: '#9e86c7',
    500: '#7256af',
    950: '#000000',
  },
}
SCSS
$custom: #7256af;
$custom-light: #9e86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7256af",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 258.876,
    "s": 35.743,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52384,
    "c": 0.13689,
    "h": 295.8
  },
  "luminance": 0.13328
}

Semantic roles & 50–950 ramp

primary
#7256AF
secondary
#B8C49D
accent
#CC5CA9
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7256AF

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

Preview Lab → · Contrast checker → · Palette generator →

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