#7255BB#7255BB

#7255BB is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.0% C 0.154 H 293.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#7255BB
RGBrgb(114, 85, 187)
HSLhsl(257, 43%, 53%)
HSVhsv(257, 55%, 73%)
CMYKcmyk(39%, 54.5%, 0%, 26.7%)
CIE-LABlab(43.74, 35.63, -49.87)
CIE-LCHlch(43.74, 61.29, 305.54°)
OKLaboklab(52.98% 0.0617 -0.1415)
OKLCHoklch(52.98% 0.154 293.5)
XYZxyz(19.1552, 13.6618, 48.6318)
Luminance0.1366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255BB #9EBB55
analogous
#556BBB #7255BB #A555BB
triadic
#7255BB #BB7255 #55BB72
tetradic
#7255BB #BB556B #9EBB55 #55BBA5
square
#7255BB #BB556B #9EBB55 #55BBA5
split-complementary
#7255BB #BBA555 #6BBB55
monochromatic
#3D2B6B #563C97 #7255BB #9681CC #BBACDE

Accessibility & contrast

On white

5.63
#7255BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#7255BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255BB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255BB#FFFFFF#000000##FFFFFF
##7255BB1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2669BE
Deuteranopia (green-blind)
#2D66B9
Tritanopia (blue-blind)
#5F6A80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7255bb;
/* rgb */ color: rgb(114, 85, 187);
/* oklch */ color: oklch(53.0% 0.154 293.5);
Tailwind
colors: {
  custom: {
    50: '#9f86d0',
    500: '#7255bb',
    950: '#000000',
  },
}
SCSS
$custom: #7255bb;
$custom-light: #9f86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7255bb",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 187
  },
  "hsl": {
    "h": 257.059,
    "s": 42.857,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.15438,
    "h": 293.5
  },
  "luminance": 0.13662
}

Semantic roles & 50–950 ramp

primary
#7255BB
secondary
#BFCCA0
accent
#D355AF
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7255BB

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

Preview Lab → · Contrast checker → · Palette generator →

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