#7257EB#7257EB

#7257EB is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.8% C 0.213 H 285.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7257EB
RGBrgb(114, 87, 235)
HSLhsl(251, 79%, 63%)
HSVhsv(251, 63%, 92%)
CMYKcmyk(51.5%, 63%, 0%, 7.8%)
CIE-LABlab(47.48, 48.17, -71.32)
CIE-LCHlch(47.48, 86.06, 304.03°)
OKLaboklab(56.77% 0.0579 -0.2046)
OKLCHoklch(56.77% 0.213 285.8)
XYZxyz(25.3386, 16.3907, 80.4097)
Luminance0.1639 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7257EB #D0EB57
analogous
#5786EB #7257EB #BC57EB
triadic
#7257EB #EB7257 #57EB72
tetradic
#7257EB #EB5786 #D0EB57 #57EBBC
square
#7257EB #EB5786 #D0EB57 #57EBBC
split-complementary
#7257EB #EBBC57 #86EB57
monochromatic
#3215B2 #4420E4 #7257EB #A08EF2 #CEC4F8

Accessibility & contrast

On white

4.91
#7257EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7257EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7257EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7257EB#FFFFFF#000000##FFFFFF
##7257EB1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F0
Deuteranopia (green-blind)
#006CE8
Tritanopia (blue-blind)
#437B99
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7257eb;
/* rgb */ color: rgb(114, 87, 235);
/* oklch */ color: oklch(56.8% 0.213 285.8);
Tailwind
colors: {
  custom: {
    50: '#a488f2',
    500: '#7257eb',
    950: '#000000',
  },
}
SCSS
$custom: #7257eb;
$custom-light: #a488f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7257eb",
  "rgb": {
    "r": 114,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 250.946,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.56769,
    "c": 0.21263,
    "h": 285.8
  },
  "luminance": 0.16392
}

Semantic roles & 50–950 ramp

primary
#7257EB
secondary
#E0E9B4
accent
#DB0AB5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7257EB

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

Preview Lab → · Contrast checker → · Palette generator →

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