#7255E2#7255E2

#7255E2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 55.8% C 0.204 H 287.3°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#7255E2
RGBrgb(114, 85, 226)
HSLhsl(252, 71%, 61%)
HSVhsv(252, 62%, 89%)
CMYKcmyk(49.6%, 62.4%, 0%, 11.4%)
CIE-LABlab(46.40, 46.69, -68.01)
CIE-LCHlch(46.40, 82.49, 304.47°)
OKLaboklab(55.77% 0.0607 -0.1948)
OKLCHoklch(55.77% 0.204 287.3)
XYZxyz(23.9114, 15.5643, 73.6810)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255E2 #C5E255
analogous
#557EE2 #7255E2 #B855E2
triadic
#7255E2 #E27255 #55E272
tetradic
#7255E2 #E2557E #C5E255 #55E2B8
square
#7255E2 #E2557E #C5E255 #55E2B8
split-complementary
#7255E2 #E2B855 #7EE255
monochromatic
#371BA1 #4924D5 #7255E2 #9D89EB #C9BEF4

Accessibility & contrast

On white

5.11
#7255E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#7255E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255E2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255E2#FFFFFF#000000##FFFFFF
##7255E21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#006ADF
Tritanopia (blue-blind)
#4A7794
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7255e2;
/* rgb */ color: rgb(114, 85, 226);
/* oklch */ color: oklch(55.8% 0.204 287.3);
Tailwind
colors: {
  custom: {
    50: '#a386ec',
    500: '#7255e2',
    950: '#000000',
  },
}
SCSS
$custom: #7255e2;
$custom-light: #a386ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7255e2",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 226
  },
  "hsl": {
    "h": 252.34,
    "s": 70.854,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55772,
    "c": 0.20406,
    "h": 287.3
  },
  "luminance": 0.15565
}

Semantic roles & 50–950 ramp

primary
#7255E2
secondary
#D9E4AF
accent
#D313AB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255E2

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

Preview Lab → · Contrast checker → · Palette generator →

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