#7256DA#7256DA

#7256DA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.3% C 0.193 H 288.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7256DA
RGBrgb(114, 86, 218)
HSLhsl(253, 64%, 60%)
HSVhsv(253, 61%, 85%)
CMYKcmyk(47.7%, 60.6%, 0%, 14.5%)
CIE-LABlab(46.03, 43.82, -64.05)
CIE-LCHlch(46.03, 77.60, 304.38°)
OKLaboklab(55.33% 0.0602 -0.1832)
OKLCHoklch(55.33% 0.193 288.2)
XYZxyz(22.9185, 15.2940, 68.0605)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256DA #BEDA56
analogous
#567CDA #7256DA #B456DA
triadic
#7256DA #DA7256 #56DA72
tetradic
#7256DA #DA567C #BEDA56 #56DAB4
square
#7256DA #DA567C #BEDA56 #56DAB4
split-complementary
#7256DA #DAB456 #7CDA56
monochromatic
#392195 #4D2CC7 #7256DA #9C88E5 #C6BAF0

Accessibility & contrast

On white

5.17
#7256DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7256DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7256DA#FFFFFF#000000##FFFFFF
##7256DA1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#4F7590
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7256da;
/* rgb */ color: rgb(114, 86, 218);
/* oklch */ color: oklch(55.3% 0.193 288.2);
Tailwind
colors: {
  custom: {
    50: '#a287e6',
    500: '#7256da',
    950: '#000000',
  },
}
SCSS
$custom: #7256da;
$custom-light: #a287e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7256da",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 218
  },
  "hsl": {
    "h": 252.727,
    "s": 64.078,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55325,
    "c": 0.19283,
    "h": 288.2
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#7256DA
secondary
#D5E0AC
accent
#E741C4
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7256DA

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

Preview Lab → · Contrast checker → · Palette generator →

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