#7255CA#7255CA

#7255CA is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.174 H 290.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#7255CA
RGBrgb(114, 85, 202)
HSLhsl(255, 52%, 56%)
HSVhsv(255, 58%, 79%)
CMYKcmyk(43.6%, 57.9%, 0%, 20.8%)
CIE-LABlab(44.71, 39.83, -57.01)
CIE-LCHlch(44.71, 69.55, 304.94°)
OKLaboklab(54.01% 0.0618 -0.1625)
OKLCHoklch(54.01% 0.174 290.8)
XYZxyz(20.8456, 14.3380, 57.5348)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255CA #ADCA55
analogous
#5573CA #7255CA #AD55CA
triadic
#7255CA #CA7255 #55CA72
tetradic
#7255CA #CA5573 #ADCA55 #55CAAD
square
#7255CA #CA5573 #ADCA55 #55CAAD
split-complementary
#7255CA #CAAD55 #73CA55
monochromatic
#3D277D #5336AC #7255CA #9984D9 #BFB2E7

Accessibility & contrast

On white

5.43
#7255CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#7255CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255CA
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255CA#FFFFFF#000000##FFFFFF
##7255CA1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016CCE
Deuteranopia (green-blind)
#1067C7
Tritanopia (blue-blind)
#586F87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7255ca;
/* rgb */ color: rgb(114, 85, 202);
/* oklch */ color: oklch(54.0% 0.174 290.8);
Tailwind
colors: {
  custom: {
    50: '#a086db',
    500: '#7255ca',
    950: '#000000',
  },
}
SCSS
$custom: #7255ca;
$custom-light: #a086db;
$custom-dark: #000000;
JSON
{
  "hex": "#7255ca",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 254.872,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.17388,
    "h": 290.8
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#7255CA
secondary
#CAD5A5
accent
#DC4CB8
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#0F0B15
muted
#7F7C83

Preview Lab

Preview with #7255CA

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

Preview Lab → · Contrast checker → · Palette generator →

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