#7255BF#7255BF

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

Color values

HEX#7255BF
RGBrgb(114, 85, 191)
HSLhsl(256, 45%, 54%)
HSVhsv(256, 55%, 75%)
CMYKcmyk(40.3%, 55.5%, 0%, 25.1%)
CIE-LABlab(44.00, 36.74, -51.80)
CIE-LCHlch(44.00, 63.51, 305.35°)
OKLaboklab(53.25% 0.0618 -0.1472)
OKLCHoklch(53.25% 0.16 292.8)
XYZxyz(19.5894, 13.8355, 50.9185)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255BF #A2BF55
analogous
#556DBF #7255BF #A755BF
triadic
#7255BF #BF7255 #55BF72
tetradic
#7255BF #BF556D #A2BF55 #55BFA7
square
#7255BF #BF556D #A2BF55 #55BFA7
split-complementary
#7255BF #BFA755 #6DBF55
monochromatic
#3D2A70 #553B9C #7255BF #9781D0 #BCAEE0

Accessibility & contrast

On white

5.57
#7255BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7255BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255BF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255BF#FFFFFF#000000##FFFFFF
##7255BF1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C3
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#5E6B82
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7255bf;
/* rgb */ color: rgb(114, 85, 191);
/* oklch */ color: oklch(53.2% 0.160 292.8);
Tailwind
colors: {
  custom: {
    50: '#9f86d3',
    500: '#7255bf',
    950: '#000000',
  },
}
SCSS
$custom: #7255bf;
$custom-light: #9f86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7255bf",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 191
  },
  "hsl": {
    "h": 256.415,
    "s": 45.299,
    "l": 54.118
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.15963,
    "h": 292.8
  },
  "luminance": 0.13836
}

Semantic roles & 50–950 ramp

primary
#7255BF
secondary
#C2CEA1
accent
#D553B1
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#0F0B14
muted
#7F7C83

Preview Lab

Preview with #7255BF

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

Preview Lab → · Contrast checker → · Palette generator →

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