#7255DA#7255DA

#7255DA is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.194 H 288.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#7255DA
RGBrgb(114, 85, 218)
HSLhsl(253, 64%, 59%)
HSVhsv(253, 61%, 85%)
CMYKcmyk(47.7%, 61%, 0%, 14.5%)
CIE-LABlab(45.82, 44.39, -64.40)
CIE-LCHlch(45.82, 78.21, 304.58°)
OKLaboklab(55.17% 0.0612 -0.1842)
OKLCHoklch(55.17% 0.194 288.4)
XYZxyz(22.8392, 15.1354, 68.0341)
Luminance0.1514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255DA #BDDA55
analogous
#557BDA #7255DA #B555DA
triadic
#7255DA #DA7255 #55DA72
tetradic
#7255DA #DA557B #BDDA55 #55DAB5
square
#7255DA #DA557B #BDDA55 #55DAB5
split-complementary
#7255DA #DAB555 #7BDA55
monochromatic
#3A2094 #4D2BC7 #7255DA #9C87E5 #C5BAF0

Accessibility & contrast

On white

5.21
#7255DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7255DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255DA
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255DA#FFFFFF#000000##FFFFFF
##7255DA1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDE
Deuteranopia (green-blind)
#0069D7
Tritanopia (blue-blind)
#4F748F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7255da;
/* rgb */ color: rgb(114, 85, 218);
/* oklch */ color: oklch(55.2% 0.194 288.4);
Tailwind
colors: {
  custom: {
    50: '#a286e6',
    500: '#7255da',
    950: '#000000',
  },
}
SCSS
$custom: #7255da;
$custom-light: #a286e6;
$custom-dark: #000000;
JSON
{
  "hex": "#7255da",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 218
  },
  "hsl": {
    "h": 253.083,
    "s": 64.251,
    "l": 59.412
  },
  "oklch": {
    "l": 0.55168,
    "c": 0.19414,
    "h": 288.4
  },
  "luminance": 0.15136
}

Semantic roles & 50–950 ramp

primary
#7255DA
secondary
#D4DFAB
accent
#E741C3
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255DA

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

Preview Lab → · Contrast checker → · Palette generator →

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