#7256FD#7256FD

#7256FD is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.235 H 284.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#7256FD
RGBrgb(114, 86, 253)
HSLhsl(250, 98%, 66%)
HSVhsv(250, 66%, 99%)
CMYKcmyk(54.9%, 66%, 0%, 0.8%)
CIE-LABlab(48.66, 53.93, -79.47)
CIE-LCHlch(48.66, 96.04, 304.16°)
OKLaboklab(58.06% 0.0568 -0.2285)
OKLCHoklch(58.06% 0.235 284)
XYZxyz(27.9914, 17.3232, 94.7782)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256FD #E1FD56
analogous
#568EFD #7256FD #C656FD
triadic
#7256FD #FD7256 #56FD72
tetradic
#7256FD #FD568E #E1FD56 #56FDC6
square
#7256FD #FD568E #E1FD56 #56FDC6
split-complementary
#7256FD #FDC656 #8EFD56
monochromatic
#2603D6 #401AFC #7256FD #A492FE #D7CFFE

Accessibility & contrast

On white

4.70
#7256FD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#7256FD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256FD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256FD#FFFFFF#000000##FFFFFF
##7256FD1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006EFA
Tritanopia (blue-blind)
#2F81A2
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7256fd;
/* rgb */ color: rgb(114, 86, 253);
/* oklch */ color: oklch(58.1% 0.235 284.0);
Tailwind
colors: {
  custom: {
    50: '#a788ff',
    500: '#7256fd',
    950: '#000000',
  },
}
SCSS
$custom: #7256fd;
$custom-light: #a788ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7256fd",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 253
  },
  "hsl": {
    "h": 250.06,
    "s": 97.661,
    "l": 66.471
  },
  "oklch": {
    "l": 0.58056,
    "c": 0.23548,
    "h": 284
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#7256FD
secondary
#E9F2BC
accent
#E600BF
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7256FD

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

Preview Lab → · Contrast checker → · Palette generator →

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