#B57FF7#B57FF7

#B57FF7 is a light, vivid violet. Relative luminance 0.317; OKLCH L 70.0% C 0.176 H 302.9°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#B57FF7
RGBrgb(181, 127, 247)
HSLhsl(267, 88%, 73%)
HSVhsv(267, 49%, 97%)
CMYKcmyk(26.7%, 48.6%, 0%, 3.1%)
CIE-LABlab(63.11, 44.13, -52.55)
CIE-LCHlch(63.11, 68.62, 310.02°)
OKLaboklab(70.02% 0.0955 -0.1475)
OKLCHoklch(70.02% 0.176 302.9)
XYZxyz(43.4302, 31.7179, 91.8118)
Luminance0.3172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B57FF7 #C1F77F
analogous
#7F85F7 #B57FF7 #F17FF7
triadic
#B57FF7 #F7B57F #7FF7B5
tetradic
#B57FF7 #F77F85 #C1F77F #7FF7F1
square
#B57FF7 #F77F85 #C1F77F #7FF7F1
split-complementary
#B57FF7 #F7F17F #85F77F
monochromatic
#730FED #9445F3 #B57FF7 #D6B9FB #EEE2FD

Accessibility & contrast

On white

2.86
#B57FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#B57FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B57FF7
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B57FF7#FFFFFF#000000##000000
##B57FF71.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A98FB
Deuteranopia (green-blind)
#6998F4
Tritanopia (blue-blind)
#A995B0
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b57ff7;
/* rgb */ color: rgb(181, 127, 247);
/* oklch */ color: oklch(70.0% 0.176 302.9);
Tailwind
colors: {
  custom: {
    50: '#cea5fa',
    500: '#b57ff7',
    950: '#000000',
  },
}
SCSS
$custom: #b57ff7;
$custom-light: #cea5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#b57ff7",
  "rgb": {
    "r": 181,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 267,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.70016,
    "c": 0.17576,
    "h": 302.9
  },
  "luminance": 0.31718
}

Semantic roles & 50–950 ramp

primary
#B57FF7
secondary
#E7F5D6
accent
#E5017E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85

Preview Lab

Preview with #B57FF7

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

Preview Lab → · Contrast checker → · Palette generator →

#B57FF7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva