#7255E5#7255E5

#7255E5 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.0% C 0.208 H 286.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7255E5
RGBrgb(114, 85, 229)
HSLhsl(252, 73%, 62%)
HSVhsv(252, 63%, 90%)
CMYKcmyk(50.2%, 62.9%, 0%, 10.2%)
CIE-LABlab(46.62, 47.55, -69.35)
CIE-LCHlch(46.62, 84.08, 304.44°)
OKLaboklab(56% 0.0604 -0.1988)
OKLCHoklch(56% 0.208 286.9)
XYZxyz(24.3266, 15.7304, 75.8680)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255E5 #C8E555
analogous
#5580E5 #7255E5 #BA55E5
triadic
#7255E5 #E57255 #55E572
tetradic
#7255E5 #E55580 #C8E555 #55E5BA
square
#7255E5 #E55580 #C8E555 #55E5BA
split-complementary
#7255E5 #E5BA55 #80E555
monochromatic
#3619A6 #4722DB #7255E5 #9E8AED #CABFF5

Accessibility & contrast

On white

5.06
#7255E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7255E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255E5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255E5#FFFFFF#000000##FFFFFF
##7255E51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EA
Deuteranopia (green-blind)
#006AE2
Tritanopia (blue-blind)
#487895
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7255e5;
/* rgb */ color: rgb(114, 85, 229);
/* oklch */ color: oklch(56.0% 0.208 286.9);
Tailwind
colors: {
  custom: {
    50: '#a386ee',
    500: '#7255e5',
    950: '#000000',
  },
}
SCSS
$custom: #7255e5;
$custom-light: #a386ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7255e5",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 229
  },
  "hsl": {
    "h": 252.083,
    "s": 73.469,
    "l": 61.569
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.20776,
    "h": 286.9
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#7255E5
secondary
#DBE6B0
accent
#D610AE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7255E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva