#7256AE#7256AE

#7256AE is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.3% C 0.136 H 296.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#7256AE
RGBrgb(114, 86, 174)
HSLhsl(259, 35%, 51%)
HSVhsv(259, 51%, 68%)
CMYKcmyk(34.5%, 50.6%, 0%, 31.8%)
CIE-LABlab(43.20, 31.48, -43.13)
CIE-LCHlch(43.20, 53.40, 306.12°)
OKLaboklab(52.32% 0.0596 -0.1217)
OKLCHoklch(52.32% 0.136 296.1)
XYZxyz(17.9053, 13.2887, 41.6578)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256AE #92AE56
analogous
#5666AE #7256AE #9E56AE
triadic
#7256AE #AE7256 #56AE72
tetradic
#7256AE #AE5666 #92AE56 #56AE9E
square
#7256AE #AE5666 #92AE56 #56AE9E
split-complementary
#7256AE #AE9E56 #66AE56
monochromatic
#3C2D5D #574086 #7256AE #957FC2 #B7A9D6

Accessibility & contrast

On white

5.74
#7256AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7256AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256AE
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256AE#FFFFFF#000000##FFFFFF
##7256AE1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3667B1
Deuteranopia (green-blind)
#3C65AC
Tritanopia (blue-blind)
#64677A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7256ae;
/* rgb */ color: rgb(114, 86, 174);
/* oklch */ color: oklch(52.3% 0.136 296.1);
Tailwind
colors: {
  custom: {
    50: '#9d86c7',
    500: '#7256ae',
    950: '#000000',
  },
}
SCSS
$custom: #7256ae;
$custom-light: #9d86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7256ae",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 259.091,
    "s": 35.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.52322,
    "c": 0.13553,
    "h": 296.1
  },
  "luminance": 0.13289
}

Semantic roles & 50–950 ramp

primary
#7256AE
secondary
#B7C39C
accent
#CB5DA8
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0F0B13
muted
#7E7C82

Preview Lab

Preview with #7256AE

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

Preview Lab → · Contrast checker → · Palette generator →

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