#7255E4#7255E4

#7255E4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 55.9% C 0.207 H 287.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7255E4
RGBrgb(114, 85, 228)
HSLhsl(252, 73%, 61%)
HSVhsv(252, 63%, 89%)
CMYKcmyk(50%, 62.7%, 0%, 10.6%)
CIE-LABlab(46.54, 47.26, -68.90)
CIE-LCHlch(46.54, 83.55, 304.45°)
OKLaboklab(55.93% 0.0605 -0.1975)
OKLCHoklch(55.93% 0.207 287)
XYZxyz(24.1874, 15.6747, 75.1348)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255E4 #C7E455
analogous
#5580E4 #7255E4 #BA55E4
triadic
#7255E4 #E47255 #55E472
tetradic
#7255E4 #E45580 #C7E455 #55E4BA
square
#7255E4 #E45580 #C7E455 #55E4BA
split-complementary
#7255E4 #E4BA55 #80E455
monochromatic
#361AA4 #4823D9 #7255E4 #9E8AEC #CABFF5

Accessibility & contrast

On white

5.08
#7255E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7255E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255E4
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255E4#FFFFFF#000000##FFFFFF
##7255E41.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#487795
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7255e4;
/* rgb */ color: rgb(114, 85, 228);
/* oklch */ color: oklch(55.9% 0.207 287.0);
Tailwind
colors: {
  custom: {
    50: '#a386ed',
    500: '#7255e4',
    950: '#000000',
  },
}
SCSS
$custom: #7255e4;
$custom-light: #a386ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7255e4",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 252.168,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.20653,
    "h": 287
  },
  "luminance": 0.15676
}

Semantic roles & 50–950 ramp

primary
#7255E4
secondary
#DAE5B0
accent
#D511AD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255E4

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

Preview Lab → · Contrast checker → · Palette generator →

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