#7255BC#7255BC

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

Color values

HEX#7255BC
RGBrgb(114, 85, 188)
HSLhsl(257, 43%, 54%)
HSVhsv(257, 55%, 74%)
CMYKcmyk(39.4%, 54.8%, 0%, 26.3%)
CIE-LABlab(43.81, 35.91, -50.36)
CIE-LCHlch(43.81, 61.85, 305.49°)
OKLaboklab(53.05% 0.0617 -0.1429)
OKLCHoklch(53.05% 0.156 293.4)
XYZxyz(19.2626, 13.7048, 49.1976)
Luminance0.1371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255BC #9FBC55
analogous
#556BBC #7255BC #A555BC
triadic
#7255BC #BC7255 #55BC72
tetradic
#7255BC #BC556B #9FBC55 #55BCA5
square
#7255BC #BC556B #9FBC55 #55BCA5
split-complementary
#7255BC #BCA555 #6BBC55
monochromatic
#3D2B6C #563C98 #7255BC #9681CD #BBADDF

Accessibility & contrast

On white

5.61
#7255BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7255BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255BC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255BC#FFFFFF#000000##FFFFFF
##7255BC1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569BF
Deuteranopia (green-blind)
#2C66BA
Tritanopia (blue-blind)
#5F6B80
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7255bc;
/* rgb */ color: rgb(114, 85, 188);
/* oklch */ color: oklch(53.0% 0.156 293.4);
Tailwind
colors: {
  custom: {
    50: '#9f86d1',
    500: '#7255bc',
    950: '#000000',
  },
}
SCSS
$custom: #7255bc;
$custom-light: #9f86d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7255bc",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 256.893,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.1557,
    "h": 293.4
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#7255BC
secondary
#C0CCA0
accent
#D355B0
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7255BC

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

Preview Lab → · Contrast checker → · Palette generator →

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