#7255E9#7255E9

#7255E9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.3% C 0.213 H 286.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#7255E9
RGBrgb(114, 85, 233)
HSLhsl(252, 77%, 62%)
HSVhsv(252, 64%, 91%)
CMYKcmyk(51.1%, 63.5%, 0%, 8.6%)
CIE-LABlab(46.92, 48.70, -71.12)
CIE-LCHlch(46.92, 86.19, 304.40°)
OKLaboklab(56.31% 0.06 -0.204)
OKLCHoklch(56.31% 0.213 286.4)
XYZxyz(24.8915, 15.9564, 78.8433)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255E9 #CCE955
analogous
#5582E9 #7255E9 #BC55E9
triadic
#7255E9 #E97255 #55E972
tetradic
#7255E9 #E95582 #CCE955 #55E9BC
square
#7255E9 #E95582 #CCE955 #55E9BC
split-complementary
#7255E9 #E9BC55 #82E955
monochromatic
#3416AD #451FE2 #7255E9 #9F8BF0 #CCC1F7

Accessibility & contrast

On white

5.01
#7255E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#7255E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255E9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255E9#FFFFFF#000000##FFFFFF
##7255E91.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)
#0073EE
Deuteranopia (green-blind)
#006BE6
Tritanopia (blue-blind)
#447997
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7255e9;
/* rgb */ color: rgb(114, 85, 233);
/* oklch */ color: oklch(56.3% 0.213 286.4);
Tailwind
colors: {
  custom: {
    50: '#a486f1',
    500: '#7255e9',
    950: '#000000',
  },
}
SCSS
$custom: #7255e9;
$custom-light: #a486f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7255e9",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 233
  },
  "hsl": {
    "h": 251.757,
    "s": 77.083,
    "l": 62.353
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.21264,
    "h": 286.4
  },
  "luminance": 0.15958
}

Semantic roles & 50–950 ramp

primary
#7255E9
secondary
#DDE8B2
accent
#D90CB1
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7255E9

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

Preview Lab → · Contrast checker → · Palette generator →

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