#7230C5#7230C5

#7230C5 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.6% C 0.214 H 297.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7230C5
RGBrgb(114, 48, 197)
HSLhsl(267, 61%, 48%)
HSVhsv(267, 76%, 77%)
CMYKcmyk(42.1%, 75.6%, 0%, 22.7%)
CIE-LABlab(37.34, 57.60, -66.09)
CIE-LCHlch(37.34, 87.67, 311.08°)
OKLaboklab(48.59% 0.1003 -0.1891)
OKLCHoklch(48.59% 0.214 297.9)
XYZxyz(18.0718, 9.7222, 53.7369)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7230C5 #83C530
analogous
#3039C5 #7230C5 #BC30C5
triadic
#7230C5 #C57230 #30C572
tetradic
#7230C5 #C53039 #83C530 #30C5BC
square
#7230C5 #C53039 #83C530 #30C5BC
split-complementary
#7230C5 #C5BC30 #39C530
monochromatic
#391863 #562494 #7230C5 #925BD7 #B38CE3

Accessibility & contrast

On white

7.13
#7230C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7230C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7230C5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7230C5#FFFFFF#000000##FFFFFF
##7230C51.007.132.947.13
#FFFFFF7.131.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#5D5879
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7230c5;
/* rgb */ color: rgb(114, 48, 197);
/* oklch */ color: oklch(48.6% 0.214 297.9);
Tailwind
colors: {
  custom: {
    50: '#a26fd8',
    500: '#7230c5',
    950: '#000000',
  },
}
SCSS
$custom: #7230c5;
$custom-light: #a26fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7230c5",
  "rgb": {
    "r": 114,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 266.577,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48585,
    "c": 0.21404,
    "h": 297.9
  },
  "luminance": 0.09723
}

Semantic roles & 50–950 ramp

primary
#7230C5
secondary
#ADCD84
accent
#E4449D
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7230C5

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

Preview Lab → · Contrast checker → · Palette generator →

#7230C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva