#7256AA#7256AA

#7256AA is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.1% C 0.130 H 297.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#7256AA
RGBrgb(114, 86, 170)
HSLhsl(260, 33%, 50%)
HSVhsv(260, 49%, 67%)
CMYKcmyk(32.9%, 49.4%, 0%, 33.3%)
CIE-LABlab(42.97, 30.40, -41.14)
CIE-LCHlch(42.97, 51.15, 306.46°)
OKLaboklab(52.08% 0.0592 -0.1159)
OKLCHoklch(52.08% 0.13 297)
XYZxyz(17.5211, 13.1350, 39.6346)
Luminance0.1313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256AA #8EAA56
analogous
#5664AA #7256AA #9C56AA
triadic
#7256AA #AA7256 #56AA72
tetradic
#7256AA #AA5664 #8EAA56 #56AA9C
square
#7256AA #AA5664 #8EAA56 #56AA9C
split-complementary
#7256AA #AA9C56 #64AA56
monochromatic
#3B2D59 #574182 #7256AA #947FBE #B6A7D3

Accessibility & contrast

On white

5.79
#7256AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#7256AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7256AA#FFFFFF#000000##FFFFFF
##7256AA1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3966AD
Deuteranopia (green-blind)
#3F64A8
Tritanopia (blue-blind)
#666678
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7256aa;
/* rgb */ color: rgb(114, 86, 170);
/* oklch */ color: oklch(52.1% 0.130 297.0);
Tailwind
colors: {
  custom: {
    50: '#9d86c4',
    500: '#7256aa',
    950: '#000000',
  },
}
SCSS
$custom: #7256aa;
$custom-light: #9d86c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7256aa",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 260,
    "s": 33.071,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52076,
    "c": 0.13014,
    "h": 297
  },
  "luminance": 0.13135
}

Semantic roles & 50–950 ramp

primary
#7256AA
secondary
#B4C19B
accent
#C95FA6
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0E0B12
muted
#7E7C81

Preview Lab

Preview with #7256AA

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

Preview Lab → · Contrast checker → · Palette generator →

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