#7255F0#7255F0

#7255F0 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 56.9% C 0.221 H 285.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7255F0
RGBrgb(114, 85, 240)
HSLhsl(251, 84%, 64%)
HSVhsv(251, 65%, 94%)
CMYKcmyk(52.5%, 64.6%, 0%, 5.9%)
CIE-LABlab(47.45, 50.72, -74.19)
CIE-LCHlch(47.45, 89.87, 304.36°)
OKLaboklab(56.86% 0.0593 -0.213)
OKLCHoklch(56.86% 0.221 285.6)
XYZxyz(25.9114, 16.3643, 84.2145)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255F0 #D3F055
analogous
#5585F0 #7255F0 #BF55F0
triadic
#7255F0 #F07255 #55F072
tetradic
#7255F0 #F05585 #D3F055 #55F0BF
square
#7255F0 #F05585 #D3F055 #55F0BF
split-complementary
#7255F0 #F0BF55 #85F055
monochromatic
#3010BA #431DEB #7255F0 #A18DF5 #CFC5FA

Accessibility & contrast

On white

4.91
#7255F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#7255F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255F0
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255F0#FFFFFF#000000##FFFFFF
##7255F01.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#006CED
Tritanopia (blue-blind)
#3E7C9B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7255f0;
/* rgb */ color: rgb(114, 85, 240);
/* oklch */ color: oklch(56.9% 0.221 285.6);
Tailwind
colors: {
  custom: {
    50: '#a587f6',
    500: '#7255f0',
    950: '#000000',
  },
}
SCSS
$custom: #7255f0;
$custom-light: #a587f6;
$custom-dark: #000000;
JSON
{
  "hex": "#7255f0",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 240
  },
  "hsl": {
    "h": 251.226,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56863,
    "c": 0.22112,
    "h": 285.6
  },
  "luminance": 0.16366
}

Semantic roles & 50–950 ramp

primary
#7255F0
secondary
#E2ECB5
accent
#E005B7
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7255F0

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

Preview Lab → · Contrast checker → · Palette generator →

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