#7255B5#7255B5

#7255B5 is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.6% C 0.146 H 294.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7255B5
RGBrgb(114, 85, 181)
HSLhsl(258, 39%, 52%)
HSVhsv(258, 53%, 71%)
CMYKcmyk(37%, 53%, 0%, 29%)
CIE-LABlab(43.37, 33.98, -46.96)
CIE-LCHlch(43.37, 57.96, 305.89°)
OKLaboklab(52.59% 0.0614 -0.133)
OKLCHoklch(52.59% 0.146 294.8)
XYZxyz(18.5263, 13.4102, 45.3195)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255B5 #98B555
analogous
#5568B5 #7255B5 #A255B5
triadic
#7255B5 #B57255 #55B572
tetradic
#7255B5 #B55568 #98B555 #55B5A2
square
#7255B5 #B55568 #98B555 #55B5A2
split-complementary
#7255B5 #B5A255 #68B555
monochromatic
#3D2C64 #563E8F #7255B5 #9580C8 #B9AADA

Accessibility & contrast

On white

5.70
#7255B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7255B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255B5
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255B5#FFFFFF#000000##FFFFFF
##7255B51.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D67B8
Deuteranopia (green-blind)
#3465B3
Tritanopia (blue-blind)
#62687D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7255b5;
/* rgb */ color: rgb(114, 85, 181);
/* oklch */ color: oklch(52.6% 0.146 294.8);
Tailwind
colors: {
  custom: {
    50: '#9e85cc',
    500: '#7255b5',
    950: '#000000',
  },
}
SCSS
$custom: #7255b5;
$custom-light: #9e85cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7255b5",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 181
  },
  "hsl": {
    "h": 258.125,
    "s": 39.344,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5259,
    "c": 0.14645,
    "h": 294.8
  },
  "luminance": 0.13411
}

Semantic roles & 50–950 ramp

primary
#7255B5
secondary
#BBC89E
accent
#CF59AB
background
#FAF8FC
surface
#F3EFF9
border
#CDCAD2
text
#0F0B13
muted
#7F7C82

Preview Lab

Preview with #7255B5

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

Preview Lab → · Contrast checker → · Palette generator →

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