#712BBB#712BBB

#712BBB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.1% C 0.209 H 300.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#712BBB
RGBrgb(113, 43, 187)
HSLhsl(269, 63%, 45%)
HSVhsv(269, 77%, 73%)
CMYKcmyk(39.6%, 77%, 0%, 26.7%)
CIE-LABlab(35.65, 57.10, -62.99)
CIE-LCHlch(35.65, 85.02, 312.19°)
OKLaboklab(47.11% 0.1056 -0.18)
OKLCHoklch(47.11% 0.209 300.4)
XYZxyz(16.6413, 8.8262, 47.8310)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BBB #75BB2B
analogous
#2B2DBB #712BBB #B92BBB
triadic
#712BBB #BB712B #2BBB71
tetradic
#712BBB #BB2B2D #75BB2B #2BBBB9
square
#712BBB #BB2B2D #75BB2B #2BBBB9
split-complementary
#712BBB #BBB92B #2DBB2B
monochromatic
#351457 #532089 #712BBB #904DD6 #AF7FE2

Accessibility & contrast

On white

7.59
#712BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#712BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BBB
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BBB#FFFFFF#000000##FFFFFF
##712BBB1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#605172
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712bbb;
/* rgb */ color: rgb(113, 43, 187);
/* oklch */ color: oklch(47.1% 0.209 300.4);
Tailwind
colors: {
  custom: {
    50: '#a16cd0',
    500: '#712bbb',
    950: '#000000',
  },
}
SCSS
$custom: #712bbb;
$custom-light: #a16cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#712bbb",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 269.167,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47113,
    "c": 0.20868,
    "h": 300.4
  },
  "luminance": 0.08826
}

Semantic roles & 50–950 ramp

primary
#712BBB
secondary
#A2CA78
accent
#E64296
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #712BBB

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

Preview Lab → · Contrast checker → · Palette generator →

#712BBB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva