#7255F4#7255F4

#7255F4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.226 H 285.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#7255F4
RGBrgb(114, 85, 244)
HSLhsl(251, 88%, 65%)
HSVhsv(251, 65%, 96%)
CMYKcmyk(53.3%, 65.2%, 0%, 4.3%)
CIE-LABlab(47.76, 51.87, -75.93)
CIE-LCHlch(47.76, 91.96, 304.34°)
OKLaboklab(57.18% 0.0588 -0.2181)
OKLCHoklch(57.18% 0.226 285.1)
XYZxyz(26.5121, 16.6046, 87.3784)
Luminance0.1661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255F4 #D7F455
analogous
#5588F4 #7255F4 #C155F4
triadic
#7255F4 #F47255 #55F472
tetradic
#7255F4 #F45588 #D7F455 #55F4C1
square
#7255F4 #F45588 #D7F455 #55F4C1
split-complementary
#7255F4 #F4C155 #88F455
monochromatic
#2E0DC2 #421CF0 #7255F4 #A28EF8 #D1C8FB

Accessibility & contrast

On white

4.86
#7255F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#7255F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255F4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255F4#FFFFFF#000000##FFFFFF
##7255F41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#006CF1
Tritanopia (blue-blind)
#3A7D9D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7255f4;
/* rgb */ color: rgb(114, 85, 244);
/* oklch */ color: oklch(57.2% 0.226 285.1);
Tailwind
colors: {
  custom: {
    50: '#a587f9',
    500: '#7255f4',
    950: '#000000',
  },
}
SCSS
$custom: #7255f4;
$custom-light: #a587f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7255f4",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 244
  },
  "hsl": {
    "h": 250.943,
    "s": 87.845,
    "l": 64.51
  },
  "oklch": {
    "l": 0.57182,
    "c": 0.22591,
    "h": 285.1
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#7255F4
secondary
#E4EEB7
accent
#E401BB
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7255F4

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

Preview Lab → · Contrast checker → · Palette generator →

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