#7255DB#7255DB

#7255DB is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.2% C 0.195 H 288.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7255DB
RGBrgb(114, 85, 219)
HSLhsl(253, 65%, 60%)
HSVhsv(253, 61%, 86%)
CMYKcmyk(47.9%, 61.2%, 0%, 14.1%)
CIE-LABlab(45.89, 44.67, -64.85)
CIE-LCHlch(45.89, 78.75, 304.56°)
OKLaboklab(55.24% 0.0612 -0.1856)
OKLCHoklch(55.24% 0.195 288.2)
XYZxyz(22.9704, 15.1879, 68.7253)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7255DB #BEDB55
analogous
#557BDB #7255DB #B555DB
triadic
#7255DB #DB7255 #55DB72
tetradic
#7255DB #DB557B #BEDB55 #55DBB5
square
#7255DB #DB557B #BEDB55 #55DBB5
split-complementary
#7255DB #DBB555 #7BDB55
monochromatic
#392096 #4D2AC8 #7255DB #9C88E6 #C6BAF0

Accessibility & contrast

On white

5.20
#7255DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7255DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7255DB
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7255DB#FFFFFF#000000##FFFFFF
##7255DB1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#4F7490
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7255db;
/* rgb */ color: rgb(114, 85, 219);
/* oklch */ color: oklch(55.2% 0.195 288.2);
Tailwind
colors: {
  custom: {
    50: '#a286e7',
    500: '#7255db',
    950: '#000000',
  },
}
SCSS
$custom: #7255db;
$custom-light: #a286e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7255db",
  "rgb": {
    "r": 114,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 252.985,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.55243,
    "c": 0.19539,
    "h": 288.2
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#7255DB
secondary
#D5E0AC
accent
#E840C4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7255DB

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

Preview Lab → · Contrast checker → · Palette generator →

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