#7255EA#7255EA

#7255EA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.214 H 286.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7255EA
RGBrgb(114, 85, 234)
HSLhsl(252, 78%, 63%)
HSVhsv(252, 64%, 92%)
CMYKcmyk(51.3%, 63.7%, 0%, 8.2%)
CIE-LABlab(46.99, 48.99, -71.56)
CIE-LCHlch(46.99, 86.72, 304.39°)
OKLaboklab(56.39% 0.0599 -0.2053)
OKLCHoklch(56.39% 0.214 286.3)
XYZxyz(25.0348, 16.0137, 79.5978)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255EA #CDEA55
analogous
#5582EA #7255EA #BD55EA
triadic
#7255EA #EA7255 #55EA72
tetradic
#7255EA #EA5582 #CDEA55 #55EABD
square
#7255EA #EA5582 #CDEA55 #55EABD
split-complementary
#7255EA #EABD55 #82EA55
monochromatic
#3316AF #451FE3 #7255EA #9F8BF1 #CCC2F7

Accessibility & contrast

On white

5.00
#7255EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7255EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255EA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255EA#FFFFFF#000000##FFFFFF
##7255EA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#006BE7
Tritanopia (blue-blind)
#447998
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7255ea;
/* rgb */ color: rgb(114, 85, 234);
/* oklch */ color: oklch(56.4% 0.214 286.3);
Tailwind
colors: {
  custom: {
    50: '#a486f2',
    500: '#7255ea',
    950: '#000000',
  },
}
SCSS
$custom: #7255ea;
$custom-light: #a486f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7255ea",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 234
  },
  "hsl": {
    "h": 251.678,
    "s": 78.01,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5639,
    "c": 0.21386,
    "h": 286.3
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

primary
#7255EA
secondary
#DEE8B2
accent
#DA0BB2
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7255EA

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

Preview Lab → · Contrast checker → · Palette generator →

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