#7256CE#7256CE

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

Color values

HEX#7256CE
RGBrgb(114, 86, 206)
HSLhsl(254, 55%, 57%)
HSVhsv(254, 58%, 81%)
CMYKcmyk(44.7%, 58.3%, 0%, 19.2%)
CIE-LABlab(45.20, 40.39, -58.52)
CIE-LCHlch(45.20, 71.11, 304.61°)
OKLaboklab(54.45% 0.0606 -0.1669)
OKLCHoklch(54.45% 0.178 290)
XYZxyz(21.4047, 14.6885, 60.0879)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256CE #B2CE56
analogous
#5676CE #7256CE #AE56CE
triadic
#7256CE #CE7256 #56CE72
tetradic
#7256CE #CE5676 #B2CE56 #56CEAE
square
#7256CE #CE5676 #B2CE56 #56CEAE
split-complementary
#7256CE #CEAE56 #76CE56
monochromatic
#3C2683 #5234B3 #7256CE #9A85DC #C1B5EA

Accessibility & contrast

On white

5.33
#7256CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#7256CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256CE
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256CE#FFFFFF#000000##FFFFFF
##7256CE1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0468CB
Tritanopia (blue-blind)
#56718A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7256ce;
/* rgb */ color: rgb(114, 86, 206);
/* oklch */ color: oklch(54.5% 0.178 290.0);
Tailwind
colors: {
  custom: {
    50: '#a187de',
    500: '#7256ce',
    950: '#000000',
  },
}
SCSS
$custom: #7256ce;
$custom-light: #a187de;
$custom-dark: #000000;
JSON
{
  "hex": "#7256ce",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 254,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54454,
    "c": 0.17762,
    "h": 290
  },
  "luminance": 0.14689
}

Semantic roles & 50–950 ramp

primary
#7256CE
secondary
#CDD8A8
accent
#DE49BC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7256CE

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

Preview Lab → · Contrast checker → · Palette generator →

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