#7257D9#7257D9

#7257D9 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.4% C 0.190 H 288.1°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7257D9
RGBrgb(114, 87, 217)
HSLhsl(252, 63%, 60%)
HSVhsv(252, 60%, 85%)
CMYKcmyk(47.5%, 59.9%, 0%, 14.9%)
CIE-LABlab(46.18, 42.96, -63.24)
CIE-LCHlch(46.18, 76.45, 304.19°)
OKLaboklab(55.41% 0.0592 -0.1808)
OKLCHoklch(55.41% 0.19 288.1)
XYZxyz(22.8684, 15.4026, 67.4002)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7257D9 #BED957
analogous
#577DD9 #7257D9 #B357D9
triadic
#7257D9 #D97257 #57D972
tetradic
#7257D9 #D9577D #BED957 #57D9B3
square
#7257D9 #D9577D #BED957 #57D9B3
split-complementary
#7257D9 #D9B357 #7DD957
monochromatic
#392194 #4D2DC6 #7257D9 #9C89E4 #C6BBF0

Accessibility & contrast

On white

5.15
#7257D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7257D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7257D9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7257D9#FFFFFF#000000##FFFFFF
##7257D91.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#006AD6
Tritanopia (blue-blind)
#507590
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7257d9;
/* rgb */ color: rgb(114, 87, 217);
/* oklch */ color: oklch(55.4% 0.190 288.1);
Tailwind
colors: {
  custom: {
    50: '#a287e6',
    500: '#7257d9',
    950: '#000000',
  },
}
SCSS
$custom: #7257d9;
$custom-light: #a287e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7257d9",
  "rgb": {
    "r": 114,
    "g": 87,
    "b": 217
  },
  "hsl": {
    "h": 252.462,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5541,
    "c": 0.19026,
    "h": 288.1
  },
  "luminance": 0.15404
}

Semantic roles & 50–950 ramp

primary
#7257D9
secondary
#D5DFAD
accent
#E642C4
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7257D9

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

Preview Lab → · Contrast checker → · Palette generator →

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