#7255DD#7255DD

#7255DD is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.198 H 288.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#7255DD
RGBrgb(114, 85, 221)
HSLhsl(253, 67%, 60%)
HSVhsv(253, 62%, 87%)
CMYKcmyk(48.4%, 61.5%, 0%, 13.3%)
CIE-LABlab(46.03, 45.25, -65.76)
CIE-LCHlch(46.03, 79.82, 304.53°)
OKLaboklab(55.39% 0.061 -0.1882)
OKLCHoklch(55.39% 0.198 288)
XYZxyz(23.2353, 15.2938, 70.1203)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255DD #C0DD55
analogous
#557CDD #7255DD #B655DD
triadic
#7255DD #DD7255 #55DD72
tetradic
#7255DD #DD557C #C0DD55 #55DDB6
square
#7255DD #DD557C #C0DD55 #55DDB6
split-complementary
#7255DD #DDB655 #7CDD55
monochromatic
#391F99 #4C29CC #7255DD #9C88E7 #C7BBF1

Accessibility & contrast

On white

5.17
#7255DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7255DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255DD
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255DD#FFFFFF#000000##FFFFFF
##7255DD1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E1
Deuteranopia (green-blind)
#0069DA
Tritanopia (blue-blind)
#4D7591
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7255dd;
/* rgb */ color: rgb(114, 85, 221);
/* oklch */ color: oklch(55.4% 0.198 288.0);
Tailwind
colors: {
  custom: {
    50: '#a286e8',
    500: '#7255dd',
    950: '#000000',
  },
}
SCSS
$custom: #7255dd;
$custom-light: #a286e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7255dd",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 221
  },
  "hsl": {
    "h": 252.794,
    "s": 66.667,
    "l": 60
  },
  "oklch": {
    "l": 0.55392,
    "c": 0.19788,
    "h": 288
  },
  "luminance": 0.15295
}

Semantic roles & 50–950 ramp

primary
#7255DD
secondary
#D6E1AD
accent
#EA3EC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255DD

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

Preview Lab → · Contrast checker → · Palette generator →

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