#7257ED#7257ED

#7257ED is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 56.9% C 0.215 H 285.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7257ED
RGBrgb(114, 87, 237)
HSLhsl(251, 81%, 64%)
HSVhsv(251, 63%, 93%)
CMYKcmyk(51.9%, 63.3%, 0%, 7.1%)
CIE-LABlab(47.63, 48.75, -72.21)
CIE-LCHlch(47.63, 87.12, 304.02°)
OKLaboklab(56.93% 0.0578 -0.2072)
OKLCHoklch(56.93% 0.215 285.6)
XYZxyz(25.6291, 16.5069, 81.9400)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7257ED #D2ED57
analogous
#5787ED #7257ED #BD57ED
triadic
#7257ED #ED7257 #57ED72
tetradic
#7257ED #ED5787 #D2ED57 #57EDBD
square
#7257ED #ED5787 #D2ED57 #57EDBD
split-complementary
#7257ED #EDBD57 #87ED57
monochromatic
#3114B6 #4420E7 #7257ED #A08EF3 #CFC6F9

Accessibility & contrast

On white

4.88
#7257ED on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7257ED on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7257ED
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7257ED#FFFFFF#000000##FFFFFF
##7257ED1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F2
Deuteranopia (green-blind)
#006CEA
Tritanopia (blue-blind)
#417C9A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7257ed;
/* rgb */ color: rgb(114, 87, 237);
/* oklch */ color: oklch(56.9% 0.215 285.6);
Tailwind
colors: {
  custom: {
    50: '#a488f4',
    500: '#7257ed',
    950: '#000000',
  },
}
SCSS
$custom: #7257ed;
$custom-light: #a488f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7257ed",
  "rgb": {
    "r": 114,
    "g": 87,
    "b": 237
  },
  "hsl": {
    "h": 250.8,
    "s": 80.645,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56925,
    "c": 0.21509,
    "h": 285.6
  },
  "luminance": 0.16508
}

Semantic roles & 50–950 ramp

primary
#7257ED
secondary
#E1EAB5
accent
#DD09B7
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7257ED

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

Preview Lab → · Contrast checker → · Palette generator →

#7257ED Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva