#7255E7#7255E7

#7255E7 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.2% C 0.210 H 286.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7255E7
RGBrgb(114, 85, 231)
HSLhsl(252, 75%, 62%)
HSVhsv(252, 63%, 91%)
CMYKcmyk(50.6%, 63.2%, 0%, 9.4%)
CIE-LABlab(46.77, 48.12, -70.23)
CIE-LCHlch(46.77, 85.14, 304.42°)
OKLaboklab(56.16% 0.0602 -0.2014)
OKLCHoklch(56.16% 0.21 286.7)
XYZxyz(24.6075, 15.8427, 77.3472)
Luminance0.1584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255E7 #CAE755
analogous
#5581E7 #7255E7 #BB55E7
triadic
#7255E7 #E77255 #55E772
tetradic
#7255E7 #E75581 #CAE755 #55E7BB
square
#7255E7 #E75581 #CAE755 #55E7BB
split-complementary
#7255E7 #E7BB55 #81E755
monochromatic
#3518AA #4620DF #7255E7 #9E8BEF #CBC0F6

Accessibility & contrast

On white

5.04
#7255E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7255E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255E7
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255E7#FFFFFF#000000##FFFFFF
##7255E71.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#006BE4
Tritanopia (blue-blind)
#467896
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7255e7;
/* rgb */ color: rgb(114, 85, 231);
/* oklch */ color: oklch(56.2% 0.210 286.7);
Tailwind
colors: {
  custom: {
    50: '#a486f0',
    500: '#7255e7',
    950: '#000000',
  },
}
SCSS
$custom: #7255e7;
$custom-light: #a486f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7255e7",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 251.918,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.2102,
    "h": 286.7
  },
  "luminance": 0.15844
}

Semantic roles & 50–950 ramp

primary
#7255E7
secondary
#DCE7B1
accent
#D70EAF
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7255E7

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

Preview Lab → · Contrast checker → · Palette generator →

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