#7256F6#7256F6

#7256F6 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.227 H 284.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#7256F6
RGBrgb(114, 86, 246)
HSLhsl(251, 90%, 65%)
HSVhsv(251, 65%, 96%)
CMYKcmyk(53.7%, 65%, 0%, 3.5%)
CIE-LABlab(48.12, 51.91, -76.46)
CIE-LCHlch(48.12, 92.42, 304.17°)
OKLaboklab(57.49% 0.0577 -0.2197)
OKLCHoklch(57.49% 0.227 284.7)
XYZxyz(26.8967, 16.8853, 89.0128)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256F6 #DAF656
analogous
#568AF6 #7256F6 #C256F6
triadic
#7256F6 #F67256 #56F672
tetradic
#7256F6 #F6568A #DAF656 #56F6C2
square
#7256F6 #F6568A #DAF656 #56F6C2
split-complementary
#7256F6 #F6C256 #8AF656
monochromatic
#2C0BC7 #421CF3 #7256F6 #A290F9 #D3CAFC

Accessibility & contrast

On white

4.80
#7256F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#7256F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256F6
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256F6#FFFFFF#000000##FFFFFF
##7256F61.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#387E9F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7256f6;
/* rgb */ color: rgb(114, 86, 246);
/* oklch */ color: oklch(57.5% 0.227 284.7);
Tailwind
colors: {
  custom: {
    50: '#a687fa',
    500: '#7256f6',
    950: '#000000',
  },
}
SCSS
$custom: #7256f6;
$custom-light: #a687fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7256f6",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 246
  },
  "hsl": {
    "h": 250.5,
    "s": 89.888,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57489,
    "c": 0.22715,
    "h": 284.7
  },
  "luminance": 0.16887
}

Semantic roles & 50–950 ramp

primary
#7256F6
secondary
#E6EFB9
accent
#E600BD
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7256F6

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

Preview Lab → · Contrast checker → · Palette generator →

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