#7255FF#7255FF

#7255FF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.239 H 283.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#7255FF
RGBrgb(114, 85, 255)
HSLhsl(250, 100%, 67%)
HSVhsv(250, 67%, 100%)
CMYKcmyk(55.3%, 66.7%, 0%, 0%)
CIE-LABlab(48.63, 55.05, -80.64)
CIE-LCHlch(48.63, 97.64, 304.32°)
OKLaboklab(58.08% 0.0574 -0.232)
OKLCHoklch(58.08% 0.239 283.9)
XYZxyz(28.2324, 17.2927, 96.4385)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255FF #E2FF55
analogous
#558DFF #7255FF #C755FF
triadic
#7255FF #FF7255 #55FF72
tetradic
#7255FF #FF558D #E2FF55 #55FFC7
square
#7255FF #FF558D #E2FF55 #55FFC7
split-complementary
#7255FF #FFC755 #8DFF55
monochromatic
#2500DA #3F18FF #7255FF #A592FF #D8CFFF

Accessibility & contrast

On white

4.71
#7255FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#7255FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255FF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255FF#FFFFFF#000000##FFFFFF
##7255FF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006EFC
Tritanopia (blue-blind)
#2C81A3
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7255ff;
/* rgb */ color: rgb(114, 85, 255);
/* oklch */ color: oklch(58.1% 0.239 283.9);
Tailwind
colors: {
  custom: {
    50: '#a787ff',
    500: '#7255ff',
    950: '#000000',
  },
}
SCSS
$custom: #7255ff;
$custom-light: #a787ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7255ff",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 255
  },
  "hsl": {
    "h": 250.235,
    "s": 100,
    "l": 66.667
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.23895,
    "h": 283.9
  },
  "luminance": 0.17294
}

Semantic roles & 50–950 ramp

primary
#7255FF
secondary
#EAF3BD
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7255FF

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

Preview Lab → · Contrast checker → · Palette generator →

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