#7255DC#7255DC

#7255DC is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.3% C 0.197 H 288.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#7255DC
RGBrgb(114, 85, 220)
HSLhsl(253, 66%, 60%)
HSVhsv(253, 61%, 86%)
CMYKcmyk(48.2%, 61.4%, 0%, 13.7%)
CIE-LABlab(45.96, 44.96, -65.31)
CIE-LCHlch(45.96, 79.29, 304.55°)
OKLaboklab(55.32% 0.0611 -0.1869)
OKLCHoklch(55.32% 0.197 288.1)
XYZxyz(23.1025, 15.2407, 69.4207)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255DC #BFDC55
analogous
#557BDC #7255DC #B655DC
triadic
#7255DC #DC7255 #55DC72
tetradic
#7255DC #DC557B #BFDC55 #55DCB6
square
#7255DC #DC557B #BFDC55 #55DCB6
split-complementary
#7255DC #DCB655 #7BDC55
monochromatic
#391F97 #4C2ACA #7255DC #9C88E6 #C6BBF1

Accessibility & contrast

On white

5.19
#7255DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#7255DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255DC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255DC#FFFFFF#000000##FFFFFF
##7255DC1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#4E7591
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7255dc;
/* rgb */ color: rgb(114, 85, 220);
/* oklch */ color: oklch(55.3% 0.197 288.1);
Tailwind
colors: {
  custom: {
    50: '#a286e8',
    500: '#7255dc',
    950: '#000000',
  },
}
SCSS
$custom: #7255dc;
$custom-light: #a286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7255dc",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 252.889,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.19664,
    "h": 288.1
  },
  "luminance": 0.15242
}

Semantic roles & 50–950 ramp

primary
#7255DC
secondary
#D5E0AC
accent
#E93FC4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255DC

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

Preview Lab → · Contrast checker → · Palette generator →

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