#7255D5#7255D5

#7255D5 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.188 H 289.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#7255D5
RGBrgb(114, 85, 213)
HSLhsl(254, 60%, 58%)
HSVhsv(254, 60%, 84%)
CMYKcmyk(46.5%, 60.1%, 0%, 16.5%)
CIE-LABlab(45.47, 42.96, -62.11)
CIE-LCHlch(45.47, 75.52, 304.67°)
OKLaboklab(54.8% 0.0615 -0.1775)
OKLCHoklch(54.8% 0.188 289.1)
XYZxyz(22.1947, 14.8776, 64.6401)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255D5 #B8D555
analogous
#5578D5 #7255D5 #B255D5
triadic
#7255D5 #D57255 #55D572
tetradic
#7255D5 #D55578 #B8D555 #55D5B2
square
#7255D5 #D55578 #B8D555 #55D5B2
split-complementary
#7255D5 #D5B255 #78D555
monochromatic
#3B238D #4F2FBE #7255D5 #9B86E1 #C3B7ED

Accessibility & contrast

On white

5.28
#7255D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#7255D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255D5
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255D5#FFFFFF#000000##FFFFFF
##7255D51.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED9
Deuteranopia (green-blind)
#0068D2
Tritanopia (blue-blind)
#52728D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7255d5;
/* rgb */ color: rgb(114, 85, 213);
/* oklch */ color: oklch(54.8% 0.188 289.1);
Tailwind
colors: {
  custom: {
    50: '#a186e3',
    500: '#7255d5',
    950: '#000000',
  },
}
SCSS
$custom: #7255d5;
$custom-light: #a186e3;
$custom-dark: #000000;
JSON
{
  "hex": "#7255d5",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 213
  },
  "hsl": {
    "h": 253.594,
    "s": 60.377,
    "l": 58.431
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.18786,
    "h": 289.1
  },
  "luminance": 0.14879
}

Semantic roles & 50–950 ramp

primary
#7255D5
secondary
#D1DCA9
accent
#E444BF
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B15
muted
#7F7C84

Preview Lab

Preview with #7255D5

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

Preview Lab → · Contrast checker → · Palette generator →

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