#7256CD#7256CD

#7256CD is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.176 H 290.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7256CD
RGBrgb(114, 86, 205)
HSLhsl(254, 54%, 57%)
HSVhsv(254, 58%, 80%)
CMYKcmyk(44.4%, 58%, 0%, 19.6%)
CIE-LABlab(45.14, 40.10, -58.06)
CIE-LCHlch(45.14, 70.56, 304.64°)
OKLaboklab(54.38% 0.0607 -0.1656)
OKLCHoklch(54.38% 0.176 290.1)
XYZxyz(21.2836, 14.6400, 59.4502)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256CD #B1CD56
analogous
#5675CD #7256CD #AE56CD
triadic
#7256CD #CD7256 #56CD72
tetradic
#7256CD #CD5675 #B1CD56 #56CDAE
square
#7256CD #CD5675 #B1CD56 #56CDAE
split-complementary
#7256CD #CDAE56 #75CD56
monochromatic
#3C2682 #5234B1 #7256CD #9985DB #C1B4E9

Accessibility & contrast

On white

5.35
#7256CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#7256CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256CD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256CD#FFFFFF#000000##FFFFFF
##7256CD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0968CA
Tritanopia (blue-blind)
#577089
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7256cd;
/* rgb */ color: rgb(114, 86, 205);
/* oklch */ color: oklch(54.4% 0.176 290.1);
Tailwind
colors: {
  custom: {
    50: '#a087dd',
    500: '#7256cd',
    950: '#000000',
  },
}
SCSS
$custom: #7256cd;
$custom-light: #a087dd;
$custom-dark: #000000;
JSON
{
  "hex": "#7256cd",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 254.118,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.17634,
    "h": 290.1
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#7256CD
secondary
#CCD8A7
accent
#DE4ABB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7256CD

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

Preview Lab → · Contrast checker → · Palette generator →

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