#7256DD#7256DD

#7256DD is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.5% C 0.197 H 287.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#7256DD
RGBrgb(114, 86, 221)
HSLhsl(252, 67%, 60%)
HSVhsv(252, 61%, 87%)
CMYKcmyk(48.4%, 61.1%, 0%, 13.3%)
CIE-LABlab(46.25, 44.68, -65.41)
CIE-LCHlch(46.25, 79.22, 304.34°)
OKLaboklab(55.55% 0.06 -0.1872)
OKLCHoklch(55.55% 0.197 287.8)
XYZxyz(23.3146, 15.4524, 70.1467)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256DD #C1DD56
analogous
#567EDD #7256DD #B556DD
triadic
#7256DD #DD7256 #56DD72
tetradic
#7256DD #DD567E #C1DD56 #56DDB5
square
#7256DD #DD567E #C1DD56 #56DDB5
split-complementary
#7256DD #DDB556 #7EDD56
monochromatic
#381F9A #4B29CD #7256DD #9D89E7 #C7BCF2

Accessibility & contrast

On white

5.13
#7256DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#7256DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7256DD#FFFFFF#000000##FFFFFF
##7256DD1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#4D7691
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7256dd;
/* rgb */ color: rgb(114, 86, 221);
/* oklch */ color: oklch(55.5% 0.197 287.8);
Tailwind
colors: {
  custom: {
    50: '#a287e8',
    500: '#7256dd',
    950: '#000000',
  },
}
SCSS
$custom: #7256dd;
$custom-light: #a287e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7256dd",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 221
  },
  "hsl": {
    "h": 252.444,
    "s": 66.502,
    "l": 60.196
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.19659,
    "h": 287.8
  },
  "luminance": 0.15453
}

Semantic roles & 50–950 ramp

primary
#7256DD
secondary
#D7E1AE
accent
#CE17A8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7256DD

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

Preview Lab → · Contrast checker → · Palette generator →

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