#7256DB#7256DB

#7256DB is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.4% C 0.194 H 288.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7256DB
RGBrgb(114, 86, 219)
HSLhsl(253, 65%, 60%)
HSVhsv(253, 61%, 86%)
CMYKcmyk(47.9%, 60.7%, 0%, 14.1%)
CIE-LABlab(46.11, 44.11, -64.50)
CIE-LCHlch(46.11, 78.14, 304.36°)
OKLaboklab(55.4% 0.0601 -0.1845)
OKLCHoklch(55.4% 0.194 288)
XYZxyz(23.0497, 15.3465, 68.7518)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7256DB #BFDB56
analogous
#567CDB #7256DB #B556DB
triadic
#7256DB #DB7256 #56DB72
tetradic
#7256DB #DB567C #BFDB56 #56DBB5
square
#7256DB #DB567C #BFDB56 #56DBB5
split-complementary
#7256DB #DBB556 #7CDB56
monochromatic
#392097 #4C2BC9 #7256DB #9C88E6 #C6BBF0

Accessibility & contrast

On white

5.16
#7256DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7256DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7256DB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7256DB#FFFFFF#000000##FFFFFF
##7256DB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#006AD8
Tritanopia (blue-blind)
#4F7590
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7256db;
/* rgb */ color: rgb(114, 86, 219);
/* oklch */ color: oklch(55.4% 0.194 288.0);
Tailwind
colors: {
  custom: {
    50: '#a287e7',
    500: '#7256db',
    950: '#000000',
  },
}
SCSS
$custom: #7256db;
$custom-light: #a287e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7256db",
  "rgb": {
    "r": 114,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 252.632,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.55399,
    "c": 0.19409,
    "h": 288
  },
  "luminance": 0.15347
}

Semantic roles & 50–950 ramp

primary
#7256DB
secondary
#D5E0AD
accent
#E840C5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7256DB

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

Preview Lab → · Contrast checker → · Palette generator →

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