#7256BC#7256BC

#7256BC is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.2% C 0.154 H 293.1°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#7256BC
RGBrgb(114, 86, 188)
HSLhsl(256, 43%, 54%)
HSVhsv(256, 54%, 74%)
CMYKcmyk(39.4%, 54.3%, 0%, 26.3%)
CIE-LABlab(44.04, 35.32, -49.99)
CIE-LCHlch(44.04, 61.21, 305.24°)
OKLaboklab(53.22% 0.0605 -0.1419)
OKLCHoklch(53.22% 0.154 293.1)
XYZxyz(19.3419, 13.8633, 49.2240)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256BC #A0BC56
analogous
#566DBC #7256BC #A556BC
triadic
#7256BC #BC7256 #56BC72
tetradic
#7256BC #BC566D #A0BC56 #56BCA5
square
#7256BC #BC566D #A0BC56 #56BCA5
split-complementary
#7256BC #BCA556 #6DBC56
monochromatic
#3D2B6D #563C98 #7256BC #9782CD #BBAEDF

Accessibility & contrast

On white

5.57
#7256BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7256BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7256BC#FFFFFF#000000##FFFFFF
##7256BC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BF
Deuteranopia (green-blind)
#2E66BA
Tritanopia (blue-blind)
#5F6B81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7256bc;
/* rgb */ color: rgb(114, 86, 188);
/* oklch */ color: oklch(53.2% 0.154 293.1);
Tailwind
colors: {
  custom: {
    50: '#9f86d1',
    500: '#7256bc',
    950: '#000000',
  },
}
SCSS
$custom: #7256bc;
$custom-light: #9f86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7256bc",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 256.471,
    "s": 43.22,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53218,
    "c": 0.15421,
    "h": 293.1
  },
  "luminance": 0.13864
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7256BC

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

Preview Lab → · Contrast checker → · Palette generator →

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