#7255CE#7255CE

#7255CE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.179 H 290.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#7255CE
RGBrgb(114, 85, 206)
HSLhsl(254, 55%, 57%)
HSVhsv(254, 59%, 81%)
CMYKcmyk(44.7%, 58.7%, 0%, 19.2%)
CIE-LABlab(44.98, 40.96, -58.88)
CIE-LCHlch(44.98, 71.73, 304.83°)
OKLaboklab(54.29% 0.0618 -0.168)
OKLCHoklch(54.29% 0.179 290.2)
XYZxyz(21.3254, 14.5299, 60.0615)
Luminance0.1453 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255CE #B1CE55
analogous
#5575CE #7255CE #AE55CE
triadic
#7255CE #CE7255 #55CE72
tetradic
#7255CE #CE5575 #B1CE55 #55CEAE
square
#7255CE #CE5575 #B1CE55 #55CEAE
split-complementary
#7255CE #CEAE55 #75CE55
monochromatic
#3C2683 #5233B2 #7255CE #9985DC #C1B4E9

Accessibility & contrast

On white

5.38
#7255CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#7255CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255CE
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255CE#FFFFFF#000000##FFFFFF
##7255CE1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD2
Deuteranopia (green-blind)
#0068CB
Tritanopia (blue-blind)
#567089
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7255ce;
/* rgb */ color: rgb(114, 85, 206);
/* oklch */ color: oklch(54.3% 0.179 290.2);
Tailwind
colors: {
  custom: {
    50: '#a186de',
    500: '#7255ce',
    950: '#000000',
  },
}
SCSS
$custom: #7255ce;
$custom-light: #a186de;
$custom-dark: #000000;
JSON
{
  "hex": "#7255ce",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 254.38,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.17899,
    "h": 290.2
  },
  "luminance": 0.14531
}

Semantic roles & 50–950 ramp

primary
#7255CE
secondary
#CCD8A7
accent
#DF49BB
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7255CE

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

Preview Lab → · Contrast checker → · Palette generator →

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