#7255CC#7255CC

#7255CC is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.1% C 0.176 H 290.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#7255CC
RGBrgb(114, 85, 204)
HSLhsl(255, 54%, 57%)
HSVhsv(255, 58%, 80%)
CMYKcmyk(44.1%, 58.3%, 0%, 20%)
CIE-LABlab(44.85, 40.40, -57.95)
CIE-LCHlch(44.85, 70.64, 304.88°)
OKLaboklab(54.15% 0.0618 -0.1653)
OKLCHoklch(54.15% 0.176 290.5)
XYZxyz(21.0840, 14.4333, 58.7901)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255CC #AFCC55
analogous
#5574CC #7255CC #AE55CC
triadic
#7255CC #CC7255 #55CC72
tetradic
#7255CC #CC5574 #AFCC55 #55CCAE
square
#7255CC #CC5574 #AFCC55 #55CCAE
split-complementary
#7255CC #CCAE55 #74CC55
monochromatic
#3C2680 #5235AF #7255CC #9984DA #C0B3E8

Accessibility & contrast

On white

5.40
#7255CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#7255CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255CC
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255CC#FFFFFF#000000##FFFFFF
##7255CC1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0867C9
Tritanopia (blue-blind)
#576F88
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7255cc;
/* rgb */ color: rgb(114, 85, 204);
/* oklch */ color: oklch(54.1% 0.176 290.5);
Tailwind
colors: {
  custom: {
    50: '#a086dc',
    500: '#7255cc',
    950: '#000000',
  },
}
SCSS
$custom: #7255cc;
$custom-light: #a086dc;
$custom-dark: #000000;
JSON
{
  "hex": "#7255cc",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 204
  },
  "hsl": {
    "h": 254.622,
    "s": 53.846,
    "l": 56.667
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.17644,
    "h": 290.5
  },
  "luminance": 0.14434
}

Semantic roles & 50–950 ramp

primary
#7255CC
secondary
#CBD7A6
accent
#DD4BB9
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7255CC

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

Preview Lab → · Contrast checker → · Palette generator →

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