#7255E8#7255E8

#7255E8 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.2% C 0.211 H 286.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7255E8
RGBrgb(114, 85, 232)
HSLhsl(252, 76%, 62%)
HSVhsv(252, 63%, 91%)
CMYKcmyk(50.9%, 63.4%, 0%, 9%)
CIE-LABlab(46.84, 48.41, -70.68)
CIE-LCHlch(46.84, 85.67, 304.41°)
OKLaboklab(56.23% 0.0601 -0.2027)
OKLCHoklch(56.23% 0.211 286.5)
XYZxyz(24.7491, 15.8994, 78.0931)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255E8 #CBE855
analogous
#5581E8 #7255E8 #BC55E8
triadic
#7255E8 #E87255 #55E872
tetradic
#7255E8 #E85581 #CBE855 #55E8BC
square
#7255E8 #E85581 #CBE855 #55E8BC
split-complementary
#7255E8 #E8BC55 #81E855
monochromatic
#3417AB #451FE1 #7255E8 #9F8BEF #CBC1F7

Accessibility & contrast

On white

5.02
#7255E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#7255E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255E8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255E8#FFFFFF#000000##FFFFFF
##7255E81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073ED
Deuteranopia (green-blind)
#006BE5
Tritanopia (blue-blind)
#457997
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7255e8;
/* rgb */ color: rgb(114, 85, 232);
/* oklch */ color: oklch(56.2% 0.211 286.5);
Tailwind
colors: {
  custom: {
    50: '#a486f0',
    500: '#7255e8',
    950: '#000000',
  },
}
SCSS
$custom: #7255e8;
$custom-light: #a486f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7255e8",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 251.837,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56234,
    "c": 0.21142,
    "h": 286.5
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#7255E8
secondary
#DDE7B1
accent
#D80DB0
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7255E8

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

Preview Lab → · Contrast checker → · Palette generator →

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