#7255F6#7255F6

#7255F6 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.3% C 0.228 H 284.9°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7255F6
RGBrgb(114, 85, 246)
HSLhsl(251, 90%, 65%)
HSVhsv(251, 65%, 96%)
CMYKcmyk(53.7%, 65.4%, 0%, 3.5%)
CIE-LABlab(47.91, 52.45, -76.79)
CIE-LCHlch(47.91, 93.00, 304.33°)
OKLaboklab(57.34% 0.0586 -0.2207)
OKLCHoklch(57.34% 0.228 284.9)
XYZxyz(26.8175, 16.7267, 88.9864)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255F6 #D9F655
analogous
#5589F6 #7255F6 #C255F6
triadic
#7255F6 #F67255 #55F672
tetradic
#7255F6 #F65589 #D9F655 #55F6C2
square
#7255F6 #F65589 #D9F655 #55F6C2
split-complementary
#7255F6 #F6C255 #89F655
monochromatic
#2C0AC6 #421BF3 #7255F6 #A28FF9 #D2C9FC

Accessibility & contrast

On white

4.83
#7255F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7255F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255F6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255F6#FFFFFF#000000##FFFFFF
##7255F61.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FB
Deuteranopia (green-blind)
#006DF3
Tritanopia (blue-blind)
#387E9E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7255f6;
/* rgb */ color: rgb(114, 85, 246);
/* oklch */ color: oklch(57.3% 0.228 284.9);
Tailwind
colors: {
  custom: {
    50: '#a687fa',
    500: '#7255f6',
    950: '#000000',
  },
}
SCSS
$custom: #7255f6;
$custom-light: #a687fa;
$custom-dark: #000000;
JSON
{
  "hex": "#7255f6",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 246
  },
  "hsl": {
    "h": 250.807,
    "s": 89.944,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.2283,
    "h": 284.9
  },
  "luminance": 0.16728
}

Semantic roles & 50–950 ramp

primary
#7255F6
secondary
#E5EFB8
accent
#E600BC
background
#FAF8FF
surface
#F5F0FF
border
#CFCBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7255F6

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

Preview Lab → · Contrast checker → · Palette generator →

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