#7255EE#7255EE

#7255EE is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 56.7% C 0.219 H 285.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7255EE
RGBrgb(114, 85, 238)
HSLhsl(251, 82%, 63%)
HSVhsv(251, 64%, 93%)
CMYKcmyk(52.1%, 64.3%, 0%, 6.7%)
CIE-LABlab(47.30, 50.14, -73.32)
CIE-LCHlch(47.30, 88.82, 304.37°)
OKLaboklab(56.7% 0.0595 -0.2104)
OKLCHoklch(56.7% 0.219 285.8)
XYZxyz(25.6159, 16.2461, 82.6584)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255EE #D1EE55
analogous
#5584EE #7255EE #BF55EE
triadic
#7255EE #EE7255 #55EE72
tetradic
#7255EE #EE5584 #D1EE55 #55EEBF
square
#7255EE #EE5584 #D1EE55 #55EEBF
split-complementary
#7255EE #EEBF55 #84EE55
monochromatic
#3112B6 #441DE8 #7255EE #A08DF4 #CEC4F9

Accessibility & contrast

On white

4.94
#7255EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7255EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255EE
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255EE#FFFFFF#000000##FFFFFF
##7255EE1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#006CEB
Tritanopia (blue-blind)
#407B9A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7255ee;
/* rgb */ color: rgb(114, 85, 238);
/* oklch */ color: oklch(56.7% 0.219 285.8);
Tailwind
colors: {
  custom: {
    50: '#a587f5',
    500: '#7255ee',
    950: '#000000',
  },
}
SCSS
$custom: #7255ee;
$custom-light: #a587f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7255ee",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 238
  },
  "hsl": {
    "h": 251.373,
    "s": 81.818,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56704,
    "c": 0.2187,
    "h": 285.8
  },
  "luminance": 0.16247
}

Semantic roles & 50–950 ramp

primary
#7255EE
secondary
#E0EBB4
accent
#DE07B5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7255EE

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

Preview Lab → · Contrast checker → · Palette generator →

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