#7256DC#7256DC

#7256DC is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.5% C 0.195 H 287.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7256DC
RGBrgb(114, 86, 220)
HSLhsl(253, 66%, 60%)
HSVhsv(253, 61%, 86%)
CMYKcmyk(48.2%, 60.9%, 0%, 13.7%)
CIE-LABlab(46.18, 44.39, -64.96)
CIE-LCHlch(46.18, 78.68, 304.35°)
OKLaboklab(55.47% 0.0601 -0.1859)
OKLCHoklch(55.47% 0.195 287.9)
XYZxyz(23.1817, 15.3993, 69.4472)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256DC #C0DC56
analogous
#567DDC #7256DC #B556DC
triadic
#7256DC #DC7256 #56DC72
tetradic
#7256DC #DC567D #C0DC56 #56DCB5
square
#7256DC #DC567D #C0DC56 #56DCB5
split-complementary
#7256DC #DCB556 #7DDC56
monochromatic
#392098 #4C2ACB #7256DC #9C89E6 #C7BBF1

Accessibility & contrast

On white

5.15
#7256DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7256DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7256DC#FFFFFF#000000##FFFFFF
##7256DC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#006AD9
Tritanopia (blue-blind)
#4E7591
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7256dc;
/* rgb */ color: rgb(114, 86, 220);
/* oklch */ color: oklch(55.5% 0.195 287.9);
Tailwind
colors: {
  custom: {
    50: '#a287e8',
    500: '#7256dc',
    950: '#000000',
  },
}
SCSS
$custom: #7256dc;
$custom-light: #a287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7256dc",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 252.537,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.19533,
    "h": 287.9
  },
  "luminance": 0.154
}

Semantic roles & 50–950 ramp

primary
#7256DC
secondary
#D6E1AD
accent
#E93FC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7256DC

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

Preview Lab → · Contrast checker → · Palette generator →

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