#7255D2#7255D2

#7255D2 is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.6% C 0.184 H 289.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7255D2
RGBrgb(114, 85, 210)
HSLhsl(254, 58%, 58%)
HSVhsv(254, 60%, 82%)
CMYKcmyk(45.7%, 59.5%, 0%, 17.6%)
CIE-LABlab(45.26, 42.10, -60.73)
CIE-LCHlch(45.26, 73.90, 304.73°)
OKLaboklab(54.58% 0.0616 -0.1734)
OKLCHoklch(54.58% 0.184 289.6)
XYZxyz(21.8175, 14.7267, 62.6533)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255D2 #B5D255
analogous
#5576D2 #7255D2 #B055D2
triadic
#7255D2 #D27255 #55D272
tetradic
#7255D2 #D25576 #B5D255 #55D2B0
square
#7255D2 #D25576 #B5D255 #55D2B0
split-complementary
#7255D2 #D2B055 #76D255
monochromatic
#3B2488 #5031B9 #7255D2 #9A85DF #C2B6EC

Accessibility & contrast

On white

5.32
#7255D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#7255D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255D2
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255D2#FFFFFF#000000##FFFFFF
##7255D21.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#0068CF
Tritanopia (blue-blind)
#54718B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7255d2;
/* rgb */ color: rgb(114, 85, 210);
/* oklch */ color: oklch(54.6% 0.184 289.6);
Tailwind
colors: {
  custom: {
    50: '#a186e1',
    500: '#7255d2',
    950: '#000000',
  },
}
SCSS
$custom: #7255d2;
$custom-light: #a186e1;
$custom-dark: #000000;
JSON
{
  "hex": "#7255d2",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 210
  },
  "hsl": {
    "h": 253.92,
    "s": 58.14,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5458,
    "c": 0.18407,
    "h": 289.6
  },
  "luminance": 0.14728
}

Semantic roles & 50–950 ramp

primary
#7255D2
secondary
#CFDAA8
accent
#E146BD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #7255D2

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

Preview Lab → · Contrast checker → · Palette generator →

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