#7255BE#7255BE

#7255BE is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.2% C 0.158 H 293.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7255BE
RGBrgb(114, 85, 190)
HSLhsl(257, 45%, 54%)
HSVhsv(257, 55%, 75%)
CMYKcmyk(40%, 55.3%, 0%, 25.5%)
CIE-LABlab(43.93, 36.46, -51.32)
CIE-LCHlch(43.93, 62.95, 305.40°)
OKLaboklab(53.18% 0.0618 -0.1458)
OKLCHoklch(53.18% 0.158 293)
XYZxyz(19.4797, 13.7916, 50.3409)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255BE #A1BE55
analogous
#556DBE #7255BE #A755BE
triadic
#7255BE #BE7255 #55BE72
tetradic
#7255BE #BE556D #A1BE55 #55BEA7
square
#7255BE #BE556D #A1BE55 #55BEA7
split-complementary
#7255BE #BEA755 #6DBE55
monochromatic
#3D2A6E #563B9B #7255BE #9781CF #BBAEE0

Accessibility & contrast

On white

5.59
#7255BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7255BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255BE
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255BE#FFFFFF#000000##FFFFFF
##7255BE1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#2966BC
Tritanopia (blue-blind)
#5E6B81
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7255be;
/* rgb */ color: rgb(114, 85, 190);
/* oklch */ color: oklch(53.2% 0.158 293.0);
Tailwind
colors: {
  custom: {
    50: '#9f86d2',
    500: '#7255be',
    950: '#000000',
  },
}
SCSS
$custom: #7255be;
$custom-light: #9f86d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7255be",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 190
  },
  "hsl": {
    "h": 256.571,
    "s": 44.681,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53182,
    "c": 0.15832,
    "h": 293
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

primary
#7255BE
secondary
#C1CEA1
accent
#D453B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7255BE

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

Preview Lab → · Contrast checker → · Palette generator →

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