#7256CF#7256CF

#7256CF is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.5% C 0.179 H 289.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7256CF
RGBrgb(114, 86, 207)
HSLhsl(254, 56%, 57%)
HSVhsv(254, 58%, 81%)
CMYKcmyk(44.9%, 58.5%, 0%, 18.8%)
CIE-LABlab(45.27, 40.67, -58.99)
CIE-LCHlch(45.27, 71.65, 304.59°)
OKLaboklab(54.53% 0.0606 -0.1683)
OKLCHoklch(54.53% 0.179 289.8)
XYZxyz(21.5265, 14.7372, 60.7297)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256CF #B3CF56
analogous
#5677CF #7256CF #AE56CF
triadic
#7256CF #CF7256 #56CF72
tetradic
#7256CF #CF5677 #B3CF56 #56CFAE
square
#7256CF #CF5677 #B3CF56 #56CFAE
split-complementary
#7256CF #CFAE56 #77CF56
monochromatic
#3C2685 #5133B5 #7256CF #9A86DD #C2B5EA

Accessibility & contrast

On white

5.32
#7256CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7256CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256CF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256CF#FFFFFF#000000##FFFFFF
##7256CF1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#56718A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7256cf;
/* rgb */ color: rgb(114, 86, 207);
/* oklch */ color: oklch(54.5% 0.179 289.8);
Tailwind
colors: {
  custom: {
    50: '#a187de',
    500: '#7256cf',
    950: '#000000',
  },
}
SCSS
$custom: #7256cf;
$custom-light: #a187de;
$custom-dark: #000000;
JSON
{
  "hex": "#7256cf",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 207
  },
  "hsl": {
    "h": 253.884,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54525,
    "c": 0.1789,
    "h": 289.8
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#7256CF
secondary
#CED9A8
accent
#DF49BC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7256CF

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

Preview Lab → · Contrast checker → · Palette generator →

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