#7256BD#7256BD

#7256BD is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.3% C 0.156 H 292.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7256BD
RGBrgb(114, 86, 189)
HSLhsl(256, 44%, 54%)
HSVhsv(256, 54%, 74%)
CMYKcmyk(39.7%, 54.5%, 0%, 25.9%)
CIE-LABlab(44.10, 35.60, -50.47)
CIE-LCHlch(44.10, 61.76, 305.20°)
OKLaboklab(53.29% 0.0605 -0.1433)
OKLCHoklch(53.29% 0.156 292.9)
XYZxyz(19.4501, 13.9066, 49.7937)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256BD #A1BD56
analogous
#566EBD #7256BD #A656BD
triadic
#7256BD #BD7256 #56BD72
tetradic
#7256BD #BD566E #A1BD56 #56BDA6
square
#7256BD #BD566E #A1BD56 #56BDA6
split-complementary
#7256BD #BDA656 #6EBD56
monochromatic
#3D2B6E #563C9A #7256BD #9782CE #BBAEDF

Accessibility & contrast

On white

5.55
#7256BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7256BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7256BD#FFFFFF#000000##FFFFFF
##7256BD1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266AC1
Deuteranopia (green-blind)
#2D66BB
Tritanopia (blue-blind)
#5E6C81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7256bd;
/* rgb */ color: rgb(114, 86, 189);
/* oklch */ color: oklch(53.3% 0.156 292.9);
Tailwind
colors: {
  custom: {
    50: '#9f86d1',
    500: '#7256bd',
    950: '#000000',
  },
}
SCSS
$custom: #7256bd;
$custom-light: #9f86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7256bd",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 256.311,
    "s": 43.83,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53285,
    "c": 0.15552,
    "h": 292.9
  },
  "luminance": 0.13907
}

Semantic roles & 50–950 ramp

primary
#7256BD
secondary
#C1CDA1
accent
#D454B1
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7256BD

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

Preview Lab → · Contrast checker → · Palette generator →

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