#7257E3#7257E3

#7257E3 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.2% C 0.203 H 286.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7257E3
RGBrgb(114, 87, 227)
HSLhsl(252, 71%, 62%)
HSVhsv(252, 62%, 89%)
CMYKcmyk(49.8%, 61.7%, 0%, 11%)
CIE-LABlab(46.89, 45.85, -67.77)
CIE-LCHlch(46.89, 81.82, 304.08°)
OKLaboklab(56.16% 0.0586 -0.1941)
OKLCHoklch(56.16% 0.203 286.8)
XYZxyz(24.2087, 15.9387, 74.4590)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7257E3 #C8E357
analogous
#5782E3 #7257E3 #B857E3
triadic
#7257E3 #E37257 #57E372
tetradic
#7257E3 #E35782 #C8E357 #57E3B8
square
#7257E3 #E35782 #C8E357 #57E3B8
split-complementary
#7257E3 #E3B857 #82E357
monochromatic
#361BA4 #4724D9 #7257E3 #9E8BEC #CAC0F4

Accessibility & contrast

On white

5.01
#7257E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7257E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7257E3
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7257E3#FFFFFF#000000##FFFFFF
##7257E31.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E7
Deuteranopia (green-blind)
#006BE0
Tritanopia (blue-blind)
#497895
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7257e3;
/* rgb */ color: rgb(114, 87, 227);
/* oklch */ color: oklch(56.2% 0.203 286.8);
Tailwind
colors: {
  custom: {
    50: '#a388ed',
    500: '#7257e3',
    950: '#000000',
  },
}
SCSS
$custom: #7257e3;
$custom-light: #a388ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7257e3",
  "rgb": {
    "r": 114,
    "g": 87,
    "b": 227
  },
  "hsl": {
    "h": 251.571,
    "s": 71.429,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.20278,
    "h": 286.8
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#7257E3
secondary
#DBE5B1
accent
#D312AE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7257E3

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

Preview Lab → · Contrast checker → · Palette generator →

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