#7257F4#7257F4

#7257F4 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.224 H 284.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#7257F4
RGBrgb(114, 87, 244)
HSLhsl(250, 88%, 65%)
HSVhsv(250, 64%, 96%)
CMYKcmyk(53.3%, 64.3%, 0%, 4.3%)
CIE-LABlab(48.16, 50.78, -75.27)
CIE-LCHlch(48.16, 90.79, 304.00°)
OKLaboklab(57.48% 0.057 -0.2162)
OKLCHoklch(57.48% 0.224 284.8)
XYZxyz(26.6718, 16.9240, 87.4316)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7257F4 #D9F457
analogous
#578BF4 #7257F4 #C057F4
triadic
#7257F4 #F47257 #57F472
tetradic
#7257F4 #F4578B #D9F457 #57F4C0
square
#7257F4 #F4578B #D9F457 #57F4C0
split-complementary
#7257F4 #F4C057 #8BF457
monochromatic
#2C0DC4 #421EF0 #7257F4 #A290F8 #D2CAFC

Accessibility & contrast

On white

4.79
#7257F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#7257F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7257F4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7257F4#FFFFFF#000000##FFFFFF
##7257F41.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F9
Deuteranopia (green-blind)
#006DF1
Tritanopia (blue-blind)
#3A7E9E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7257f4;
/* rgb */ color: rgb(114, 87, 244);
/* oklch */ color: oklch(57.5% 0.224 284.8);
Tailwind
colors: {
  custom: {
    50: '#a588f9',
    500: '#7257f4',
    950: '#000000',
  },
}
SCSS
$custom: #7257f4;
$custom-light: #a588f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7257f4",
  "rgb": {
    "r": 114,
    "g": 87,
    "b": 244
  },
  "hsl": {
    "h": 250.318,
    "s": 87.709,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57476,
    "c": 0.22358,
    "h": 284.8
  },
  "luminance": 0.16925
}

Semantic roles & 50–950 ramp

primary
#7257F4
secondary
#E5EEB9
accent
#E401BD
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7257F4

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

Preview Lab → · Contrast checker → · Palette generator →

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