#7255DF#7255DF

#7255DF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 55.5% C 0.200 H 287.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7255DF
RGBrgb(114, 85, 223)
HSLhsl(253, 68%, 60%)
HSVhsv(253, 62%, 87%)
CMYKcmyk(48.9%, 61.9%, 0%, 12.5%)
CIE-LABlab(46.18, 45.82, -66.66)
CIE-LCHlch(46.18, 80.89, 304.50°)
OKLaboklab(55.54% 0.0609 -0.1909)
OKLCHoklch(55.54% 0.2 287.7)
XYZxyz(23.5033, 15.4011, 71.5320)
Luminance0.1540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255DF #C2DF55
analogous
#557DDF #7255DF #B755DF
triadic
#7255DF #DF7255 #55DF72
tetradic
#7255DF #DF557D #C2DF55 #55DFB7
square
#7255DF #DF557D #C2DF55 #55DFB7
split-complementary
#7255DF #DFB755 #7DDF55
monochromatic
#381D9C #4B27D0 #7255DF #9D89E9 #C7BCF2

Accessibility & contrast

On white

5.15
#7255DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7255DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255DF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255DF#FFFFFF#000000##FFFFFF
##7255DF1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#4C7692
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7255df;
/* rgb */ color: rgb(114, 85, 223);
/* oklch */ color: oklch(55.5% 0.200 287.7);
Tailwind
colors: {
  custom: {
    50: '#a386ea',
    500: '#7255df',
    950: '#000000',
  },
}
SCSS
$custom: #7255df;
$custom-light: #a386ea;
$custom-dark: #000000;
JSON
{
  "hex": "#7255df",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 223
  },
  "hsl": {
    "h": 252.609,
    "s": 68.317,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55543,
    "c": 0.20036,
    "h": 287.7
  },
  "luminance": 0.15402
}

Semantic roles & 50–950 ramp

primary
#7255DF
secondary
#D7E2AE
accent
#D015A9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255DF

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

Preview Lab → · Contrast checker → · Palette generator →

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